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

http://issues.apache.org/bugzilla/show_bug.cgi?id=29092

Xalan unable to handle a colon in a processing instruction in a DTD

           Summary: Xalan unable to handle a colon in a processing
                    instruction in a DTD
           Product: XalanJ2
           Version: 2.5
          Platform: Sun
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: javax.xml
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The Xalan XSLT Transformer appears to be unable to handle a colon in a
processing instruction in a DTD.  I have enclosed a transcript showing
the bug, and the code used to produce it is available from me.  
(I couldn't see how to attach it to this bug report.)

[EMAIL PROTECTED] IS10744]$ uname -a
Linux couch-1 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386
GNU/Linux
[EMAIL PROTECTED] IS10744]$ $HOME/opt/java/bin/java -version
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
[EMAIL PROTECTED] IS10744]$ make
$HOME/opt/java/bin/javac IS10744.java
$HOME/opt/java/bin/java -Dhttp.proxyHost="gatekeeper.mitre.org" IS10744
[Fatal Error] xhtml-arch-1.mod:36:15: A colon is not allowed in the name
'IS10744:arch' when namespaces are enabled.
javax.xml.transform.TransformerConfigurationException: getAssociatedStylesheets
failed
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getAssociatedStylesheet(TransformerFactoryImpl.java:546)
        at IS10744.main(IS10744.java:11)
Caused by: org.xml.sax.SAXParseException: A colon is not allowed in the name
'IS10744:arch' when namespaces are enabled.
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1195)
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getAssociatedStylesheet(TransformerFactoryImpl.java:528)
        ... 1 more
---------
org.xml.sax.SAXParseException: A colon is not allowed in the name 'IS10744:arch'
when namespaces are enabled.
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1195)
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getAssociatedStylesheet(TransformerFactoryImpl.java:528)
        at IS10744.main(IS10744.java:11)
[EMAIL PROTECTED] IS10744]$ make dist
rm IS10744.html IS10744.class
rm: cannot remove `IS10744.html': No such file or directory
make: [clean] Error 1 (ignored)
rm *~
DIR=`pwd`; DIR=`basename ${DIR}`; \
cd ..; tar czf ${DIR}.tar.gz ${DIR}
[EMAIL PROTECTED] IS10744]$

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to