Re: [Serialization] SCHEMA-L (qt-2004Feb0272-01)


     In [1], you submitted the following comment on the Last Call Working 
Draft of XSLT 2.0 and XQuery 1.0 Serialization on behalf of the XML Schema 
working group:


[L] [Section 4.1] Given that XML 1.1 is not [Should be "now". HZ] a
recommendation, we believe that
the serialization specification should give guidance to users and 
about serializing as 1.0 or 1.1. We believe this section (4.1) is a good 
but needs more details about how serializers should deal with characters 
in the
range x00 to x1F (ref 
See our related comment on the data model.

     Thanks to you and the XML Schema Working Group for this comment.

     The XSL and XML Query Working Groups discussed your comment.  In 
response to another comment on the Last Call Working Draft, the working 
groups decided to add information on how NEL and LSEP characters must be 
handled, but neglected to add information on the control characters.

     The working groups decided to make the following changes based on the 
July 23 Working Draft of Serialization.[2]

o In Section 5, the first paragraph following the bulleted list,
change "certain whitespace characters" to "certain characters".
(We've not been dealing with whitespace characters alone for some

o In Section 5, the first paragraph following the bulleted list,
append the following sentence

In addition, the non-whitespace control characters #x1 through #x1F
and #x7F through #x9F in text nodes and attribute nodes must be
output as character references.

o In Section 5, in the last note, remove the words "or CDATA sections".

o In Section 5, in the last note, append the following paragraph

XML 1.0 permitted control characters in the range #x7F through #x9F
to appear as literal characters in an XML document, but XML 1.1
requires such characters to be escaped as character references.  An
external general parsed entity with no text declaration or a text
declaration that specifies a version pseudo-attribute with value "1.0"
that is invoked by an XML 1.1 document entity must follow the rules of
XML 1.1.  Therefore, the non-whitespace control characters in the
ranges #x1 through #x1F and #x7F through #x9F must always be escaped,
regardless of the value of the version parameter.

     May I ask you to confirm that this response is acceptable to the 
Schema Working Group?


Henry [On behalf of the XSL and XML Query Working Groups]
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044

Received on Wednesday, 8 September 2004 14:53:53 UTC