A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Joined: Mar 06, 2002
Sep 15, 2006 02:37:00
Am running an xml application and the xml parses it and builds new xmls based on some xsl.
when i am doing this,its throwing transformationException as follows
javax.xml.transform.TransformerException: The prefix "DbGML" for element "DbGML
BGMMessage" is not bound.
Where DBGML are defined for the application.
Any idea why such 'not bound' exception is thrown?browsed some stuff on net but no success.
any help is appreciated.
Joined: Oct 14, 2005
Sep 15, 2006 09:55:00
That would mean, I think, that no ancestor of that element declares a namespace for which DbGML is the prefix. Look in your XML for namespace declarations. And make sure your parser is set up to be namespace-aware (although it probably is).
I agree. Here's the link:
avoid cache in websphere
XML Parsing through Java
Preserving whitespaces in attribute value during XSLT
Spring JMS Junit problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014