xsl-list
[Top] [All Lists]

RE: Unrecognised namespace beginning with '//'

2005-04-13 04:35:05
At first sight this looks like a Xalan bug, but one can't be sure without
seeing the full stylesheet, especially line 135.

Michael Kay
http://www.saxonica.com/
 

-----Original Message-----
From: Jan Rihak [mailto:jrihak(_at_)gmx(_dot_)net] 
Sent: 13 April 2005 11:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Unrecognised namespace beginning with '//'

Hi list, 

I'm working on transformations on XMI files generated by Borland
Together 6.2. This modeling and code generation tool 
generates XMI files
with the following namespace declarations: 

<XMI xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.3'>

My XSLT transformation file starts with: 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
              xmlns:UML='//org.omg/UML/1.3'
              xmlns:uml='omg.org/UML/1.4'
              xmlns:xalan="org.apache.xalan.xslt.extensions.Redirect"
                extension-element-prefixes="xalan"
              exclude-result-prefixes="UML"
              version="1.0">

The 'uml'-namespace is used for the output document. Further, 
I use the
xalan XSLT processor to process the transformation. Now, xalan outputs
the following error message, when processing the input file 
with my XSLT
transformation file: 

SystemId Unknown; Line #135; Column #43; XSLT Error
(javax.xml.transform.TransformerConfigurationException):
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: A location step was expected
following the '/' or '//' token.

When I omit the double slash in the namespace declarations of 
the input
XMI document and the transformation file, e.g.
xmlns:UML='org.omg/UML/1.3' the transformation works fine, no error is
output. 

Are there any ideas how I could get the transformation to work without
modifying the XMI file generated by Borland Together 6.2? 

Thank you in advance, best regards,
Jan 


-- 
Jan Rihak
email: jrihak(_at_)gmx(_dot_)net
phone: 0041 (0)79 315 35 26


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>