W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2004

Re: [Serialization] IBM-SE-013: XML v1.1 vs. Namespaces v1.1 (qt-2004Feb0062-01)

From: Henry Zongaro <zongaro@ca.ibm.com>
Date: Fri, 8 Oct 2004 13:58:38 -0400
To: Don Chamberlin <chamberl@almaden.ibm.com>, xmlquery@us.ibm.com
Cc: public-qt-comments@w3.org
Message-ID: <OF57CD876E.55F24B47-ON85256F27.005FD262-85256F27.0062BE47@ca.ibm.com>

Hi, Don.

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

<<
Serialization Section 4.1, "XML Output Method: the version Parameter": 
This section should explain what it means to serialize a data model using 
XML Version 1.0 or Version 1.1. These versions are distinguished mainly by 

the characters they allow in names. Does the data model need to specify 
which XML version it is using? (Currently the data model does not provide 
any way to do this.) What happens if serialization is using XML Version 
1.0 but it encounters a name that contains a character in the Version 1.1 
character set?

Also, this section should specify whether XML Version 1.1 interpreted to 
include Namespaces Version 1.1 as well. If not, should a separate version 
parameter be defined for this purpose?
>>

     Thank you for this comment.  The XSL and XML Query Working Groups 
discussed your comment, and decided that all NCNames must conform to the 
version of Namespaces in XML specified by the version parameter; if 
NCNames do not conform to the appropriate version of the Namespaces 
recommendation, a serialization error results.

     Similarly, if the instance of the data model contains any characters 
that are not permitted by the particular version of XML specified by the 
version parameter, a serialization error results.  For instance, if the 
version parameter has the value 1.0, and a text node contains one of the 
non-whitespace control characters in the range #x1 to #x1F, a 
serialization error results, because those characters were not permitted 
in XML 1.0 documents; if the version parameter has the value 1.1, and a 
comment node contains one of the control characters in the range #x7F to 
#x9f, other than NEL, a serialization error results, because those 
characters are also permitted to appear as character references in XML 1.1 
documents.

     Finally, the description of the version parameter should indicate 
that it controls the version of both XML and Namespaces in XML to which 
the serialized result should conform.  No independent parameter specifying 
the version of Namespaces in XML is required.

     I will modify the Serialization specification to reflect these 
decisions.

     As you were present when these decisions were made, I will assume the 
response is acceptable to you.

Thanks,

Henry
[1] 
http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0062.html
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com
Received on Friday, 8 October 2004 17:59:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:56 UTC