W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2008

[Bug 5433] SER: descendants of an XML island

From: <bugzilla@wiggum.w3.org>
Date: Mon, 28 Jan 2008 11:04:29 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JJRmv-0008Qv-Ne@wiggum.w3.org>


           Summary: SER: descendants of an XML island
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org

Consider the serialization of:
declare namespace foo = "http://www.example.org/";
      <span>This will not be CDATA</span>
      <foo:span>This will not be CDATA</foo:span>
      <span>Will this be CDATA?</span>
      <foo:br />
      <br />

with serialization parameters:


1.  Should all descendants of foo:xml-island be output as if they were
serialized as XML 1.0? 
2.  Should the <span> which is a descendant of foo:xml-island be output as c
CDATA section?

The serialization specification states that:

"The HTML output method MUST NOT output an element differently from the XML
output method unless the expanded QName of the element has a null namespace
URI. [Definition: An element whose expanded QName has a non-null namespace URI
MUST be output as XML. This is known as an XML Island.] "


"The cdata-section-elements parameter is not applicable to the HTML output
method, except in the case of XML Islands."

>From this, I'd assume that the asnwers to (1) and (2) above are both false, but
if this is the then an XML island will not necessarily be serialized as well
formed XML.  Is my understanding correct?
Received on Monday, 28 January 2008 11:04:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:35 UTC