W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > September 2008

Another look at validate-with-xml-schema

From: Vasil Rangelov <boen.robot@gmail.com>
Date: Sun, 28 Sep 2008 19:53:28 +0300
To: <public-xml-processing-model-comments@w3.org>
Message-ID: <48dfb69b.1c215e0a.21c7.62b5@mx.google.com>

OK, after reading the previous thread, I re-read the definition of
p:validate-with-xml-schema, and I have some thoughts (not related to the
previous thread):

1. As far as I know, "lax" mode refers to validating the XML document
against the schema declared inside of it if available, and assume valid if
no such schema is declared. "strict" refers to validating the XML document
against the schema declared inside of it and assume invalid if no such
schema is declared. Shouldn't those two modes be clarified? If this is said
elsewhere (say, the XML Schema spec), there should be a reference to the
relevant section.

2. Is the "schema" port required? If not, how does the processor behave when
it's not present? Against the mode I suppose? This should be said
explicitly.

3. What exactly is the point of the assert-valid option? If assert-valid is
"false" and the document turns out to be invalid, what should happen?
Nothing?!? Why so?
Received on Sunday, 28 September 2008 16:54:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC