Re: ORA-SE-314-B: Additional namespace nodes may be present if serialization does not undeclare namespaces (qt-2004Feb0937-01)

Steve,

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

<<
SECTION 4: XML output method

Sixth bullet, "Additional namespace nodes may be present in the 
new tree if the serialization process undeclared namespaces."
This seems to be a misstatement of what you intend.  Given a
document node D with an element node E1 with a child E2 with fewer
inscope namespaces than its parent E1, then there are four scenarios
to consider, forming a two-by-two matrix: The output method may
undeclare namespaces, or it may not; and the parse of the output
may be an XML 1.0 parser or an XML 1.1 parser.  The analysis of
the four cases is:

undeclare, reparse with XML 1.0: this will generate an error 
during the reparse, since undeclaring is not a feature of XML 1.0.

undeclare, reparse with XML 1.1: this will restore the original
value.

no undeclare, reparse with XML 1.0: no error during the reparse
step (at least for namespace undeclarations), so the resulting
document node will have more namespace nodes in the regenerated
E2 than it should have.

no undeclare, reparse with XML 1.1: same analysis as preceeding case.

Thus the correct statement is that additional namespaces nodes 
may be present in the new tree if the serialization process did
not undeclare namespaces.

That is replace "undeclared" with "did not undeclare".
>>

     Thank you for your comment, which I am handling editorially.

     I have applied the correction you pointed out.  I would appreciate if 
you could check the next draft of the specification when it becomes 
available, and verify that I've correctly applied the change.

Thanks,

Henry
[1] 
http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0937.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, 15 October 2004 20:13:07 UTC