[jdom-interest] HAVE to have Namespaces?

Dave Bartmess dingodave at edingo.net
Mon Oct 13 19:17:27 PDT 2003


I have an application that will ONLY be on one desktop at a time. But
from the messages below, it looks like I HAVE to have Namespaces
declared. Is this true? 

Exception in thread "main" java.lang.NullPointerException
   at org.jdom.Element.getQualifiedName(Element.java:314)
   at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:1055)
   at
org.jdom.output.XMLOutputter.printContentRange(XMLOutputter.java:1178)
   at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:1098)
   at org.jdom.output.XMLOutputter.output(XMLOutputter.java:566)

If so, how do I add a Namespace to it? I have no clue about namespaces,
having created almost exclusively server-style and standalone
applications... Can someone point me to a newbie tutorial for
namespaces?

Thanks!
-- 
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net




More information about the jdom-interest mailing list