File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes TransformerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "TransformerException" Watch "TransformerException" New topic
Author

TransformerException

Rajendar Goud
Ranch Hand

Joined: Mar 06, 2002
Posts: 220
Hi,
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 "DbGMLBGMMessage" 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.

Thanks
Raj
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18115
    
    8

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).
 
 
subject: TransformerException
 
Similar Threads
soap question
XML Parsing through Java
Spring JMS Junit problem
Preserving whitespaces in attribute value during XSLT
avoid cache in websphere