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





------- Additional Comments From [EMAIL PROTECTED]  2004-02-15 14:38 -------
I propose changing the PI to xalan-doc-cache-off rather than xalan:doc-cache-
off, although the old PI will be recognized if it makes it through the XML 
parser to Xalan.
------------------------------------------
Here are the changes that I propose:
1) Change Xalan's Java code that recognizes this PI in StlesheetHandler.java

      if(
         "xalan:doc-cache-off".equals(target) ||
           ("doc-cache-off".equals(localName) &&
            ns.equals("org.apache.xalan.xslt.extensions.Redirect") )
         )
      {
to
      if(
         "xalan-doc-cache-off".equals(target) ||
         "xalan:doc-cache-off".equals(target) ||
           ("doc-cache-off".equals(localName) &&
            ns.equals("org.apache.xalan.xslt.extensions.Redirect") )
         )
      {

------------------------------------------------
2) Change the Javadoc in Xalan's ElemForEach.java describing the field  
m_doc_cache_off=false; to use the new name only.
------------------------------------------------
3) Change the FAQ page, http://xml.apache.org/xalan-j/faq.html to use the new 
name for the PI

- Brian Minchau

Reply via email to