Hello Bob,
> [DTD, schema] both DTD and schema validation.
>
> So, to be more precise, is the latter possibility one that anyone wants?
I think everybody working with J2EE1.3 and J2EE1.4 needs both DTD and
schema validation (as the DTD based deployment descriptors changed to
schema based and the filenames are unchanged).
Dies
Bob Foster wrote:
Michael Glavassevich wrote:
Bob Foster <[EMAIL PROTECTED]> wrote on 08/05/2005 11:12:07 AM:
Excuse me, but if you set the parser so it does DTD _and_ schema
validation, then the document must be both DTD-valid and schema valid?
Well, not exactly. With the dynamic validation feature turned on, the
document will only be DTD validated if it has a DTD. Similarly a
schema (more specifically an element declaration for the validation
root) must be found for schema validation to be performed. If the
document has both a DTD and schema it will be DTD validated and schema
validated. If it has neither then no validation is performed.
Sure, there are four possibilities:
[DTD, no schema] DTD validation only
[no DTD, schema] schema validation only
[no DTD, no schema] no validation
[DTD, schema] both DTD and schema validation.
So, to be more precise, is the latter possibility one that anyone wants?
It seems more likely in the latter case, what people would want is
closer to what "http://xml.org/sax/features/external-general-entities"
does.
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]