W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2010

[Bug 9778] [SER] HTML output and namespace undeclaration

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Jun 2010 14:59:47 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OM0HL-0007Ai-Jb@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9778





--- Comment #2 from Henry Zongaro <zongaro@ca.ibm.com>  2010-06-08 14:59:47 ---
At its teleconference of 3 June 2010,[3] the XSL Working Group directed me "to
slightly modify comment 1 (clarification re XML islands) and ask for
ratification by XQuery."  That was because of a remark I made during the call
stating that item 1 in section 7.1 of the Serialization Recommendation[2]
pertained to namespace nodes on elements that are in no namspace and that item
2 pertained to so-called XML islands, and that such islands are serialized
according to the rules of the XML output method with version parameter set to
1.0 -- which would again imply that undeclaration of namespace prefixes must
not occur.

However, I realized afterward that my on-the-fly reading was incorrect:  item 2
in 7.1 pertains only to how the QName of an element or attribute that is in a
namespace must be serialized, not to how the entire XML island must be
serialized.  Per the first paragraph of 7.1, XML islands "MUST be output in the
same way as a non-empty, inline element such as span."

So, the first item in the numbered list of 7.1 applies to namespace nodes on
any element, regardless of whether that element is in a namespace.  So I
believe my analysis of comment 1 still stands - that no undeclaration of the
prefix "dummy" on element "my:island" will appear in the serialized document,
nor will any undeclaration of the prefix "foo" on the HTML element "strong"
appear.

[3] http://lists.w3.org/Archives/Member/w3c-xsl-wg/2010Jun/0011.html
(Member-only link)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 8 June 2010 14:59:52 UTC

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