[EMAIL PROTECTED] wrote:
>
> insisting that folks say what they mean.

This may have made sense when XML was seen mainly as an extension of HTML,
or a cut-down version of SGML, i.e. mainly used for document processing.

Now that it is more often used as a data interchange medium it is often no
longer sufficient to rely on this internal mechanism for specifying the
DTD. An application may want to rely completely on the parser's validation
feature to make sure that the input is properly formatted for processing.
For this to be safe it must be guaranteed that the correct DTD is used,
namely the one that defines the format the application can handle.

If the parser uses the DTD specified in the document, an application must
do its own validation, or resort to the tricks mentioned in other posts in
this thread.

You can see this change in perspective in the fact that Xerces 1.6.0 does
allow programmatic specification of the Schema (and the Schema spec
explicitly *requires* this capability). It would make sense to do the same
for the DTD.

Joachim

-- 
work:     [EMAIL PROTECTED]   (http://www.netacquire.com)
private:  [EMAIL PROTECTED]          (http://www.kraut.ca)


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

Reply via email to