Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
From: Boris Tarasyuk [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: namespaces and Valid XML
Same way I can say that not everything clear with X
to, the DTD based validation cannot check for that.
--
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
From: Boris Tarasyuk [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 7:57 AM
To: [EMAIL PROTECTED]
Subject: Re: namesp
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 reall
> Thanks Dean and Joseph for the answers.
> That exactly what I suspected, but would like
> to get third party's opinion.
> I don't think that this is bug in MS Parser (successful
> validation of element with namespace prefix if it declared in DTD
> without namespace prefix). Rather it's feature.
Probably they do 'nonstandard validation'. But you don't
need turn on it explicitly. IE can recognize it. This is example:
1.
content text
Validation correct. Namespace is declared
2.
content text
Validation failed. Namespace is not declared
>
> Sorry, but it ex
>I don't think that this is bug in MS Parser (successful
>validation of element with namespace prefix if it declared in DTD
>without namespace prefix). Rather it's feature.
Sorry, but it explicitly violates the XML spec's definition of validity, so
if they're claiming to be a validating XML pars
ature.
MS likes create additional features, which may be not contradicts,
but not specified in original document.
>
> >I've got question about relationship between namespaces and Valid XML.
> >...
> >I didn't find clear explanations at w3c how this suppose to work
>
>I've got question about relationship between namespaces and Valid XML.
>...
>I didn't find clear explanations at w3c how this suppose to work
Mostly because the W3C made no real effort to design namespaces so they
"play well" with DTD validation. An assumption w
IE
is accepting this, it must be in error, or is not
validating.
-- Dean Roddey Software Geek
Extraordinaire Portal, Inc [EMAIL PROTECTED]
-Original Message-From: Boris Tarasyuk
[mailto:[EMAIL PROTECTED]]Sent: Thursday, April 26, 2001 1:33
PMTo: [EMAIL PROTECTED
Hello
I've got question about relationship
between
namespaces and Valid XML.
This is example:
SAXparser.setDoValidation(true); SAXparser.setDoNamespaces(true);
[
AT1 CDATA #IMPLIED > ]>
content
text
MS parser can read it.
Xerces parses attribute
10 matches
Mail list logo