Same way I can say that not everything clear with Xerces.
When validating parser meets attribute, which is not declared in DTD,
it has to report error. And Xerces does report. But if attribute starts
from 'xmlns:' Xerces does not report error. So, if we agree that namespaces
and DTDs are not really like each other, may be make sense to prohibit
use SAXparser.setDoValidation(true) and SAXparser.setDoNamespaces(true);
for the same parsing?.
Boris Tarasyuk
Infrastructures for Information
[EMAIL PROTECTED]
>
> I dunno. That's kind of like saying that guns work even when you point
them
> at yourself is a feature :-) That's just an accident waiting to happen,
and
> it really *does* contradict the XML spec, which says that the names
defined
> in the DTD must be matched excactly in the document or its not valid.
>
> -------------------------
> Dean Roddey
> The CIDLib C++ Frameworks
> Charmed Quark Software
> [EMAIL PROTECTED]
> http://www.charmedquark.com
>
> "Why put off until tomorrow what you can
> put off until the day after tomorrow?"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]