[jdom-interest] cant achive creation of this xml tag with jdom

Michael Kay mike at saxonica.com
Mon Mar 24 16:11:57 PDT 2008


hello, I need to create this xml tag using jdom in java:
Code:

<stream:features>
  <bind xmlns="urn:ietf:params:xml:ns:xmpp--bind" />
  <session xmlns="urn:ietf:params:xml:ns:xmpp--session" />
</stream:features>

That is not namespace-well-formed XML: the "stream" prefix is used, but is
not bound to any namespace URI. Why would you want to create XML that
violates the namespaces specification? - no application is going to be able
to process it.
 
Michael Kay
http://www.saxonica.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20080324/abfa0f7f/attachment.htm


More information about the jdom-interest mailing list