[jdom-interest] Urgent Request to Add a method in SAXBuilder class
Christian Knorr
christian.knorr at gmx.de
Fri Aug 3 08:48:48 PDT 2001
I really appreciate the fast handling of this issue, but I am not sure
if the latest fix from Alex solves the problem with validating against
an external DTD as well (which was mentioned by Tony Zhang). I still
cannot set a _property_ which is needed to validate against an external
DTD or schema which I control by myself. Is there any other possibility
to accomplish this?
Christian Knorr
Jason Hunter wrote:
>
> > > The TODO gives my thoughts:
> > >
> > > * Consider a builder.setFeature() pass-through method that allows any
> > > features to be set that aren't in the http://xml.org namespace. Make
> > > those in http://xml.org not to be touched because either we have
> > specific
> > > requirements for them to be set one way, or we have the feature exposed
> > > through a Java method.
> >
> > Hmmm... The restriction seems a little artificial. What if in the future we
> > require a non-xml.org feature to be set a different way (maybe to work
> > around a bug in a particular parser)? What if in the future a new xml.org
> > feature is added? Nobody will be able to use it until we change the JDOM
> > API, right? etc.
> >
> > Instead, we could just throw an exception if the user tries to set something
> > that we can't handle. Your way is more self-documenting, but my way is more
> > flexible.
>
> Good points. OK.
>
> > > Alex, do you want to create a patch? Your builder patches last time
> > > were excellent! :-)
> >
> > Does your flattery increase as your workload goes up? :) Yup, I can send a
> > patch.
>
> Perhaps, but you're damn good anyway. :-)
>
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list