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=27800>. 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=27800 some combinations of namespace prefixes cause problems Summary: some combinations of namespace prefixes cause problems Product: XalanC Version: 1.7 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Certain combinations of namespace prefixes don't work. For instance, the prefixes "util" and "sc" cause a conflict. If "util" is declared first, xalan will complain that "sc" exists already. On the other hand, if "sc" is declared first, xalan complains that "util" exists already. Apparently, a string comparison fails somewhere and "util" and "sc" are considered to be equal. (The work around is simple, try different prefixes.) Here is example code that runs fine with the java version of xalan, but fails with the C++ version: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:util="http://myTest1" xmlns:sc="http://myTtest2" exclude-result-prefixes="util sc" version="1.0"> <xsl:template match="/"> <outElement><xsl:text>This works.</xsl:text></outElement> </xsl:template> </xsl:stylesheet>
