[jdom-interest] Possible bug in SAXHandler when "namespaces" feature is off

Dennis Sosnoski dms at sosnoski.com
Mon Jan 19 10:54:23 PST 2004


Elliotte Rusty Harold wrote:

>>True, it does not comply with XML Namespaces, because "my" is not explicitly
>>mapped to a namespace URI in the same file. But I need to parse this anyway.
>>So, I turn off the "namespaces" feature.  Works like a charm with DOM. Why
>>should JDOM be less flexible?
>>    
>>
>
>Because JDOM hits a nice 80/20 point rather than the confusing mess 
>of trying to do everything you find in DOM.
>
>
>  
>
If JDOM only supports XML+Namespaces (apparently the case) then it 
should say so up front. As it is now, JDOM claims to support XML. I'd 
certainly agree that XML documents which are not Namespaces compliant 
are a small minority, but that shouldn't be an excuse for misrepresentation.

  - Dennis




More information about the jdom-interest mailing list