[xml] Premature end of data in tag


when I try to parse a xml file with tags containing special characters
(like CONTROL-M) I get an error "premature end of data in tag <tag name>".
For example
I get this error message ("premature end of data in tag <CaptionWriter>")
running the command

xmllint --debug test.xml

where test.xml is the following xml file:

<?xml version='1.0' encoding="ISO-8859-1" ?>
<OBJECT type="image">
<Caption>image, bloody image</Caption>
<DATAFILE location="test.jfif"></DATAFILE>

Are there special characters not allowed in a xml tag?



(See attached file: test.xml)

Attachment: test.xml
Description: Binary data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]