|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Need clarification of Section 2.11 End-of-Line Handling in
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








