[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxx phone: 0041 (0)79 315 35 26
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|