Re: [xslt] Problems with XMI processing (namespace declarations)
- From: Bjorn Reese <breese mail1 stofanet dk>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] Problems with XMI processing (namespace declarations)
- Date: Sat, 13 Jan 2007 12:32:55 +0100
Peter Howard wrote:
<XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML'
xmlns:UML2 = 'org.omg.xmi.namespace.UML2' timestamp = 'Fri Dec 15
12:13:05 CET 2006'>
[...]
then the matches work. Is the output from Poseidon legal? If so, why
won't xsltproc match with it's declaration?
It is my interpretation that the Poseidon output is not legal.
The namespace must be a valid URI [1], which means that it must be
preceeded by a scheme name followed by a colon, e.g. "http:" or "ftp:".
In the above case it looks like they are using URNs [2], in which case
the scheme is "urn:", so the correct namespace for UML should be
xmlns:UML='urn:org.omg.xmi.namespace.UML'
[1] http://www.w3.org/TR/REC-xml-names/#concepts
[2] http://www.faqs.org/rfcs/rfc2141.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]