[
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
|