Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] Read Word2003 XML Docs from Tamino

Michael Kay

2006-01-18

Replies:


> I have a big problem with JDom and the Tamino XML Server. I
> have to store
> Word2003(XML) Documents in the database. This works without
> problems. But
> when I try to load the documents, the database changes the sequece of
> Attributes and namespace declaration so the document looks like
> <w:wordDocument w:att="blabla" xmlns:w="dsfdsf">.....
> The SAXBuilder can't parse this document!
>

Sounds like a straight bug in the SAXBuilder. It's perfectly good XML. You
could circumvent it by writing a SAX XMLFilter that reorders the attributes.

Michael Kay
http://www.saxonica.com/


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.