  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: Re: Re: SAXOutputter bug with empty namespaces | Subject: Re: Re: SAXOutputter bug with empty namespaces 2007-08-14 - By Tatu Saloranta
Back It is not an error to do this, although it is redundant and therefore sub -optimal. So getting rid of it seems like an improvement. I think StaxOutputter (which is probably in contrib or so?) for example wouldn't add such declaration.
-+ Tatu +-
-- -- Original Message ---- From: Gunter Ohrner <G.Ohrner@(protected)> To: jdom-interest@(protected) Sent: Tuesday, August 14, 2007 1:28:24 AM Subject: [jdom-interest] Re: SAXOutputter bug with empty namespaces
Hi!
Mary Ellen Foster wrote: > If you check out the latest JDom from CVS and compile it, that bug is > fixed.
I just tested JDOM's latest nightly source drop and it seems to me as if the partial fix from the discussion I mentioned has been included, though JDOM still generates am empty xmlns-attribute if the elements have no namespace assigned.
Example:
<myxml xmlns=""> <atag /> </myxml>
Is this to be expected?
Greetings,
Gunter
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ __ __ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
|
|
 |