Re: [xml] Premature end of data in tag

Sorry for the late follow up, but...

On Mon, 9 Sep 2002, Daniel Veillard wrote:

On Mon, Sep 09, 2002 at 05:06:02PM +0200, Filippo Mariani wrote:


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>".

  yes it's not XML. The parser MUST stop its work and report a fatal error
the set of acceptable characters in XML is described in the spec:

That URL says that valid Char is

Char    ::=    #x9 | #xA | #xD | [#x20-#xD7FF] |
   [#xE000-#xFFFD] | [#x10000-#x10FFFF]

As such, the 8-bit characters Filippo referred to are valid. Or have I
missed something?



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