Open GoogleCodeExporter opened 9 years ago
Please check syntax in XML-file. Try
<?xml version="1.0" encoding="utf-8"?>
<entry><term>AZFW</term><definition>actual zero-fuel weight
</definition></entry>
Original comment by dmitry.s...@gmail.com
on 17 Nov 2011 at 4:34
Thanks... I tried that, but I still get the "Extra content at the end of the
document" error. Is there something at the end I need to add to close off the
document?
Original comment by jeanpaul...@gmail.com
on 17 Nov 2011 at 1:28
All right... following some advice online
(http://www.phphaven.com/article.php?id=14) I got passed the "end of the
document" error, but now that I've added a root element
(<document></document>), a new error comes up:
Unable to complete operation.
Input is not proper UTF-8, indicate encoding ! Bytes: 0xAE 0x20 0x43 0x52
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
xmlParseEntityRef: no name
EntityRef: expecting ';'
xmlParseEntityRef: no name
xmlParseEntityRef: no name
EntityRef: expecting ';'
xmlParseEntityRef: no name
EntityRef: expecting ';'
EntityRef: expecting ';'
etc.
Original comment by jeanpaul...@gmail.com
on 17 Nov 2011 at 1:49
Fixed it!
Two issues:
1. Instead of utf-8, it needed to be <?xml version="1.0"
encoding="iso-8859-1"?> (no idea why)
2. There were apparently some unescaped ampersands in the document. I replaced
these all with &, and everything was fine.
Original comment by jeanpaul...@gmail.com
on 17 Nov 2011 at 2:03
Original issue reported on code.google.com by
jeanpaul...@gmail.com
on 16 Nov 2011 at 8:20