W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2000

confusing statement in draft of XML specification

From: Gignac Donald A CRBE <GignacDA@nswccd.navy.mil>
Date: Fri, 25 Aug 2000 10:45:30 -0400
Message-ID: <1F9F67162ADED3119F18009027A8F40403BDBC@crbeex03.dt.navy.mil>
To: "'xml-editor@w3.org'" <xml-editor@w3.org>
Cc: "Westbrook Evelyn L (Lori) CRBE" <WestbrookEL@nswccd.navy.mil>, "Garner F J (Joe) CRBE" <GarnerFJ@nswccd.navy.mil>, Le Beau Raymond P CRBE <LeBeauRP@nswccd.navy.mil>
In clause 3.3.3 "Attribute-Value Normalization", the third substep in the third normalization step is
	For a white space character (#x20, #xD, #xA, #x9), append a space character (#x20) to the normalized value.
However, according to the first normalization step
	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.
In view of the above and clause 2.11 (where the substitution of #xA for #xD in the entity replacement text would presumably take place when the ENTITY declaration for that entity is processed), no line break characters (#xD) would be present at this point.
I suggest that the rewording of
	For a white space character (#x20, #xD, #xA, #x9), append a space character (#x20) to the normalized value.
as
	For the #x20,  #xA, and #x9 white space characters, append a space character (#x20) to the normalized value.
would be more accurate.
Received on Friday, 25 August 2000 10:47:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:30 GMT