[ http://nagoya.apache.org/jira/browse/XALANJ-1309?page=history ]
Henry Zongaro updated XALANJ-1309:
----------------------------------
Priority: Major (was: Blocker)
> Confusing error message if namespace URI starts with "//"
> ---------------------------------------------------------
>
> Key: XALANJ-1309
> URL: http://nagoya.apache.org/jira/browse/XALANJ-1309
> Project: XalanJ2
> Type: Bug
> Components: Diagnostic-messages-resources
> Versions: 2.4Dx
> Environment: Operating System: Windows NT/2K
> Platform: Other
> Reporter: Andriy Sokolnikov
>
> 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'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]