[jdom-interest] Anything else for beta 9?
Jason Hunter
jhunter at servlets.com
Tue Apr 8 16:59:24 PDT 2003
> > > >Right now SAXBuilder's default is to always set SAX "namespaces" to
> > > >true and "namespace-prefix" to false, and you cannot change that.
> > >
> > > I think that's wrong. It should set both to true in order to
> > > propagate namespaces in scope and additional namespaces properly.
> >
> > Looks like it's been that way since beta 5 and hasn't cause any major problem
> > s
> > yet (key word being "yet). But thinking about this "namespace-prefixes" == tr
> > ue
> > ensures the qname will be availible through startElement, otherwise it's
> > optional and I guess Xerces (and Crimson before) always provided it even
> > though they didn't have to. So I guess we've been living on borrowed time.
> >
> > Guess that should be fixed before beta 9.
>
> Does this need to be fixed, change "namespace-prefixes" from false to true
> in SAXBuilder? And does anyone have time to change SAXBuilder and give it
> a quick test.
I think you're right only testing will reveal what *really* is the right
thing to do. Since there've been no problems thus far I don't think
this is b9 holdup, and it's a "big risk" change.
-jh-
More information about the jdom-interest
mailing list