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=14621>. 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=14621 If namespace URI starts with "//", Xalan fails to load the template Summary: If namespace URI starts with "//", Xalan fails to load the template Product: XalanJ2 Version: 2.4Dx Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If the URI in namespace declaration starts with '//' Xalan ignores declaration and throws exception parsing lines which use this namespace. For example, if source XML starts with <?xml version = '1.0' encoding = 'ISO-8859-1' ?> <XMI xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.3'> <XMI.header> ..... template starts with <?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:UML="//org.omg/UML/1.3"> and has a line ... <xsl:template match="/XMI/XMI.content/UML:Model"> ... exception is thrown : javax.xml.transform.TransformerException : extra illegal tokens : 'Model' It does not happen if files have declarations like xmlns:UML = 'org.omg/UML/1.3' or xmlns:UML = 'http://org.omg/UML/1.3'
