Subject: RE: [xsl] unbound node problem reply From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 4 Sep 2006 12:18:44 +0100 |
> The error message I am getting is > > " > file:///c:/Projects/ccm/Partyin.xml; Line #4; Column #51; > XSLT Error (javax.xml. > transform.TransformerException): The prefix "UML" for element > "UML:Class" is not bound. .... > > I have declared UML namespace in both xml and xslt files, and > still getting the same problem. The XML parser disagrees: it says you haven't declared the UML namespace, and in the absence of strong evidence to the contrary, I think it's probably right and you are probably wrong. (A plea to everyone once again - if you get an error message, quote it. Don't paraphrase it. The message doesn't say a "node" is unbound, it says a namespace prefix is unbound. How can we help to diagnose errors when we only have a garbled version of the error message?) Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] unbound node problem reply, sergio.viademontedar | Thread | [xsl] Copy a node inside a template, Adam Retter |
[xsl] unbound node problem reply, sergio.viademontedar | Date | [xsl] Copy a node inside a template, Adam Retter |
Month |