[ http://issues.apache.org/jira/browse/XALANJ-1877?page=all ]

Brian Minchau updated XALANJ-1877:
----------------------------------

    Fix Version: 2.7

> Xalan unable to handle a colon in a processing instruction in a DTD
> -------------------------------------------------------------------
>
>          Key: XALANJ-1877
>          URL: http://issues.apache.org/jira/browse/XALANJ-1877
>      Project: XalanJ2
>         Type: Bug
>   Components: JAXP
>     Versions: 2.5
>  Environment: Operating System: All
> Platform: Sun
>     Reporter: John D. Ramsdell
>     Assignee: Xalan Developers Mailing List
>      Fix For: 2.7

>
> 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]$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to