You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2005/12/05 11:22:31 UTC
[jira] Resolved: (XALANJ-1309) Confusing error message if namespace URI starts with "//"
[ http://issues.apache.org/jira/browse/XALANJ-1309?page=all ]
Henry Zongaro resolved XALANJ-1309:
-----------------------------------
Resolution: Duplicate
This is duplicated by XALANJ-2100. Although this bug report, as the older of the two, should have priority, I'm returning this one because the more recent report has been assigned to a developer/committer (Joanne Tong).
> Confusing error message if namespace URI starts with "//"
> ---------------------------------------------------------
>
> Key: XALANJ-1309
> URL: http://issues.apache.org/jira/browse/XALANJ-1309
> Project: XalanJ2
> Type: Bug
> Components: Diagnostic-messages-resources
> Versions: 2.5
> 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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org