W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2006

[Bug 3051] [Ser] undeclare-prefixes=no unspecified

From: <bugzilla@wiggum.w3.org>
Date: Mon, 24 Apr 2006 20:39:10 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FY7pu-0005Kj-SQ@wiggum.w3.org>


------- Comment #2 from joannet@ca.ibm.com  2006-04-24 20:39 -------
I suggest the following modifications to existing text in section 5.1.7 (XML
Output Method: the undeclare-prefixes Parameter):

The Data Model allows an element node that binds a non-empty prefix to have a
child element node that does not bind that same prefix. In Namespaces in XML
1.1 ([XML Names 1.1]), this can be represented accurately by undeclaring
<remove>namespaces</remove> <new>prefixes</new>. <new>For the undeclaring
prefix of the child element node,  if</new> the undeclare-prefixes parameter
has the value yes, the output method is XML <new> or XHTML</new>, and the
version parameter value is greater than 1.0, the serializer MUST undeclare
<remove>namespaces</remove> <new>its namespace</new>.  <new>If the
undeclare-prefixes parameter has the value no and the output method is XML or
XHTML, then undeclaring prefixes MUST NOT occur. </new>

In Namespaces in XML <new>1.0<new> ([XML Names]), <remove>namespace</remove>
<new>prefix</new> undeclaration is not possible. If the output method is XML
<new> or XHTML</new>, the value of the undeclare-prefixes parameter is yes, and
the value of the version parameter is 1.0, a serialization error [err:SEPM0010]
results; the serializer MUST signal the error.

(not yet approved by WG)

Joanne Tong
Received on Monday, 24 April 2006 20:39:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:11 UTC