[jdom-interest] Toward beta 9

Bradley S. Huffman hip at a.cs.okstate.edu
Wed Apr 9 07:51:51 PDT 2003


Yep, we just haven't figured out how to deal with that yet. One option
is to have a special factory in org.jdom so it could have access to the
protected methods in the core classes (do a search of the archives for
FastFactory in the message body).  The problem, at least IMHO, is it would
have to be public so SAXBuilder/SAXHandler (org.jdom.input) could use it.
Which wouldn't be a problem except it gives people the ability to skip
the verifications when building by hand, which they'll do in the name
of efficiency, and consequently end up asking the list for help when their
code screws up.

But I'm one of those in the "protect me from myself" crowd :-)

Brad

Vadim.Strizhevsky at morganstanley.com writes:

> I raised this issue recently about Verifier, but I don't think anyone
> responded. Currently Virifier runs both when you building the message "by
> hand" and when it comes from SAX parser. Howerver when it comes from SAX
> parser it is really unecessary, as it is XML parser responsibility to
> verify character set. All valid XML parsers including Xerces and Crimson
> do this. So Verifier is just doing the same work again and in a less
> efficient way and adds significant overhead. Is it possible that JDOM can
> do something so that Verifier is not used when message is constructed from
> XML parser?
> 
> Thanks,
> -Vadim
> 
> On Wed, 9 Apr 2003, Bradley S. Huffman wrote:
> 
> > Elliotte Rusty Harold writes:
> >
> > > >Verifier check for ProcessingInstruction's setData()? Elliotte can we bo
> rrow
> > > >the check out of XOM's Verifier?
> > > >
> > >
> > > Sure. I officially grant the JDOM permission to republish that check
> > > under the JDOM license rather than the LGPL.
> >
> > Got love open source :)
> >
> > Hmmm, it looks like this is the last set method that didn't have a call
> > to a check in Verifier. After this check is added, does that cover all
> > the XML spec. constaints that can be checked in Verifier and can we cross
> > that item off the TODO list?
> >
> > Brad
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourho
> st.com
> >
> >
> 



More information about the jdom-interest mailing list