The following issue has been updated:
Updater: Brian Minchau (mailto:[EMAIL PROTECTED])
Date: Sat, 4 Sep 2004 11:34 PM
Changes:
assignee changed from Xalan Developers Mailing List
description changed from 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' to 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'
environment changed from Operating System: Windows NT/2K
Platform: Other to Operating System: Windows NT/2K
Platform: Other
priority changed to Blocker
Component changed to Diagnostic messages/resources
Component changed from Xalan
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XALANJ-1309?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1309
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1309
Summary: Confusing error message if namespace URI starts with "//"
Type: Bug
Status: Unassigned
Priority: Blocker
Project: XalanJ2
Components:
Diagnostic messages/resources
Versions:
2.4Dx
Assignee:
Reporter: Andriy Sokolnikov
Created: Sat, 16 Nov 2002 10:49 PM
Updated: Sat, 4 Sep 2004 11:34 PM
Environment: Operating System: Windows NT/2K
Platform: Other
Description:
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'
---------------------------------------------------------------------
JIRA INFORMATION:
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
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]