[Bug 5893] New: [SER] Allow explicit setting of doctype-system and doctype-public to null

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5893

           Summary: [SER] Allow explicit setting of doctype-system and
                    doctype-public to null
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 1.1
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


In a number of cases with XSLT, and in further cases with external APIs, we
define that one way of setting serialization parameters should override values
that would otherwise be set in a different way. For example, this happens when
one xsl:output declaration overrides another by having higher import
precedence, and in the JAXP API an external setting of a serialization
parameter can override a setting within a stylesheet. This will also affect
XQuery once we have syntax for setting serialization parameters within a query.

Most of the time this works fine, but there is a problem with the two
parameters doctype-system and doctype-public because they have no explicit
value that is equivalent to leaving the parameter unspecified. This means it is
not possible to override an explicit value with a "null" value.

It is proposed that we should permit the special value "#none" for both these
parameters, this value being equivalent to leaving the parameter unspecified,
except that it overrides any existing value for the parameter set in an
interface that has lower precedence.


-- 
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, 22 July 2008 23:58:09 UTC