[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Unrecognised namespace beginning with '//'

Subject: Unrecognised namespace beginning with '//'
From: Jan Rihak <jrihak@xxxxxxx>
Date: Wed, 13 Apr 2005 12:05:57 +0200
jan rihak
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@xxxxxxx
phone: 0041 (0)79 315 35 26

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.