Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TransformerException

 
Rajendar Goud
Ranch Hand
Posts: 220
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic