DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26217

The xalan:doc-cache-off PI does not use conform to XML Namespaces

           Summary: The xalan:doc-cache-off PI does not use conform to XML
                    Namespaces
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.processor
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Xerces has recently started detecting the Namespace well-formedness rule that a 
processing instruction's PITarget must not contain a colon.[1]  That causes 
problems for Xalan-J's xalan:doc-cache-off processing instruction.  For 
example, the error

  A colon is not allowed in the name 'xalan:doc-cache-off' when namespaces are
  enabled.

is produced for the following example.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="1.0">
  <xsl:template match="/">
    <xsl:for-each select=".">
      <?xalan:doc-cache-off?>
    </xsl:for-each>
  </xsl:template>
</xsl:stylesheet>

If we'd like to continue supporting that processing instruction (which can be 
the subject of debate), we'll have to come up with a new name.

[1] http://www.w3.org/XML/xml-names-19990114-errata#NE08

Reply via email to