>>>>> On Thu, 28 Jun 2001, "Kent" == Kent Dahl wrote:

  Kent> I don't remember the reference, anyone care to confirm or
  Kent> unconfirm?

The following is from: http://www.w3.org/TR/REC-xml

2.11 End-of-Line Handling

       XML parsed entities are often stored in computer files
       which, for editing convenience, are organized into
       lines. These lines are typically separated by some
       combination of the characters carriage-return (#xD) and
       line-feed (#xA).

       To simplify the tasks of applications, the characters
       passed to an application by the XML processor must be
       as if 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.


...

3.3.3 Attribute-Value Normalization

       Before the value of an attribute is passed to the
       application or checked for validity, the XML processor
       must normalize the attribute value by applying the
       algorithm below, or by using some other method such that
       the value passed to the application is the same as that
       produced by the algorithm.

        1.All line breaks must have been normalized on input to
        #xA as described in 2.11 End-of-Line Handling, so the
        rest of this algorithm operates on text normalized in
        this way.

[[ more details elided ]]

--Hal



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to