W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2009

Tests validxsd-004 and validxsd-012 contradictory

From: <Toman_Vojtech@emc.com>
Date: Fri, 20 Nov 2009 04:09:21 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C286860@CORPUSMX70C.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>
The tests validxsd-004 and validxsd-012 seem to contradict each other.
Both tests look the same:

  <p:input port="source">
    <p:document href="http://tests.xproc.org/tests/doc/document2.xml"/>
  <p:input port="schema">

The document document2.xml contains an xsi:noNamespaceLocationAttribute.

Test 004 is expected to succeed, but test 012 is expected to raise
err:XC0053 (document not valid).
The only difference between the two tests is that test 012 specifies
use-location-hints="false" explicitly. But "false" is already the
default for use-location-hints, which is why test 004 raises err:XC0053
as well in our implementation.

There is also test validxsd-008 that is the same as validxsd-004, except
that it says use-location-hints="true".

I would say validxsd-004 should be removed. 

What do you think?

Received on Friday, 20 November 2009 09:09:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:47 UTC