[jdom-interest] Still more Verification

Jason Hunter jhunter at collab.net
Wed Aug 23 12:02:13 PDT 2000


> On a side note, would JDOM possibly take a page from the SAX-features
> book, enabled features described by URIs?  If you want Rusty's 
> validation, then you could setFeature("http://jdom.org/validation",
> true). Plus, by setting once, from a string, it allows a run-time 
> change, and doesn't introduce extra flavors of methods with a 
> boolean flag.

But where would you set that?  Can't be a Document since elements aren't
created belonging to a document.  Can't be a singleton because JDOM may
be used by different servlets in the same VM that want different feature
toggles.

-jh-



More information about the jdom-interest mailing list