[jdom-interest] Possible bug in SAXHandler when "namespaces" feature is off
dmitri at apache.org
Mon Jan 19 11:29:29 PST 2004
I got it. Complaint withdrawn.
Thank you for your responses.
----- Original Message -----
From: "Jason Hunter" <jhunter at servlets.com>
To: "Dennis Sosnoski" <dms at sosnoski.com>
Cc: "Elliotte Rusty Harold" <elharo at metalab.unc.edu>; "Dmitri Plotnikov"
<dmitri at apache.org>; <jdom-interest at jdom.org>
Sent: Monday, January 19, 2004 5:03 PM
Subject: Re: [jdom-interest] Possible bug in SAXHandler when "namespaces"
feature is off
> >>> 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
> Dennis, I think the most accurate way of saying what JDOM does is this:
> JDOM's SAXBuilder does not support parsing namespaced documents or
> documents using prefixes unless used with an underlying parser that
> understands namespaces.
> For a while, before parsers supporting namespaces were common, we did
> namespace handling ourselves. A long time ago we decided that special
> code wasn't any longer necessary and it simplified the builder
> To control your jdom-interest membership:
More information about the jdom-interest