Kohsuke KAWAGUCHI wrote:
> > First of all, I could not find anywhere in JAXP specs that setting
> > setValidation() sets validation against DTD.
> > So it was parser/implementation specific.
> 
> Maybe so, but I guess when JAXP is developed, "validation" implied
> nothing but DTD, since there wasn't XML Schema at that time.

As I mentioned in my previous post, I am fine with this interpretation.
 
> And even if I'm wrong, I'm sure many developers made this assumption. So
> I think Edwin is right from practical point of view.

Many but not all. I think JAXP should clarify this in the spec.
 
> > >   3) app wants to validate to DTD or XSD, the case you state
> How can I specify this behavior without relying on the parser default
> behavior?
> 
> If this #3 use case is really anticipated, we should have a mechanism to
> explicitly specify this behavior.

See my previous post (it has a proposed sol-n for this case).

--
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to