W3C home > Mailing lists > Public > public-xml-testsuite@w3.org > February 2014

Re: Possible bug in test not-wf-sa-083

From: SJ Kissane <skissane@gmail.com>
Date: Sat, 22 Feb 2014 00:01:19 +1100
Message-ID: <CACX070A8_vyBEymD0mukA8e4+BuaXh+tBgoJ17scN_0O5pxQvg@mail.gmail.com>
To: public-xml-testsuite@w3.org
On 21 February 2014 18:51, SJ Kissane <skissane@gmail.com> wrote:
> I believe this should be TYPE="invalid" not TYPE="not-wf", since
> "Notation Declared" is a validity constraint not a well-formedness
> constraint, and therefore documents which violate it are invalid yet
> still well-formed.
I'm wrong: while "Notation Declared" is a VC, "Parsed Entity" is a
WFC, and this XML is not well-formed since it violates that WFC.

But still, this test is rather confused. It claims to be testing for
violation of a VC in a not-wf test, but actually tests for a violation
of a different WFC instead.  Two possible fixes:

1) Amend SECTIONS to reference 4.1 [68] instead, update description accordingly

2) Change <doc>&e;</doc> to <doc></doc> to remove the WFC-violation,
and change TYPE="not-wf" to TYPE="invalid" as I originally suggested

Received on Friday, 21 February 2014 13:01:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:44:22 UTC