OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Need clarification of Section 2.11 End-of-Line Handling in

[ Lists Home | Date Index | Thread Index ]

On Friday, Sep 5, 2003, at 14:46 Europe/Berlin, Roger L. Costello wrote:

> Hi Folks,
> Here is section 2.11 End-of-Line Handling of the XML specification:
>       http://www.w3.org/TR/REC-xml#sec-line-ends
> ...
> "the XML processor normalized all line breaks in ***external parsed
> entities*** (including the document entity) on input, before parsing, 
> by
> translating both the two-character sequence #xD #xA and any #xD that is
> not followed by #xA to a single #xA character."
> ...
the phrase "(including the document entity)" would appear to this 
reader to specify that all #xd#xa, #xd, and #xa sequences would have to 
have been normalized in the given example. as in,

> <?xml version="1.0"?> \n
> <!DOCTYPE Test [ \n
> <!ENTITY p SYSTEM "para.txt"> \n
> ]> \n
> <Test> \n
>      <para>This is a \n
>      simple paragraph. What \n
>      do you think of it?</para> \n
> </Test> \n


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS