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=28658>.
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=28658

can't declare any more prefixes in this context





------- Additional Comments From [EMAIL PROTECTED]  2004-06-15 16:30 -------
I experienced the same problem, the most simple xsl stylesheet that worked 
perfectly on my previous java version, failed on java 1.5 beta 2 with:

java.lang.IllegalStateException: can't declare any more prefixes in this context
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.
parse(DocumentBuilderImpl.java:185)

Took me a LONG time to find the problem: somehow, the version attribute location 
 now has to be positioned AFTER the xmlns:xsl attribute.

When I changed: 

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

To:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

, it all worked as before.

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

Reply via email to