[jdom-interest] Read Word2003 XML Docs from Tamino

Jason Hunter jhunter at xquery.com
Wed Jan 18 05:51:50 PST 2006


Michael Kay wrote:

>>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/

It wouldn't be a bug in SAXBuilder, it would be a bug in the underlying 
parser used by the builder.  But that's a pretty serious bug, and one I 
can't imagine a parser really having in 2006.

-jh-



More information about the jdom-interest mailing list