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 _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
