RE: cant achive creation of this xml tag with jdom
"Michael Kay" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <006f01c88e04$75a1cad0$6401a8c0@turtle> |
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/ _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]