This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4948 - Particles: Ob003
Summary: Particles: Ob003
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard: Metadata updated 2010-07-06
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 14:10 UTC by Michael Chan
Modified: 2010-07-06 13:59 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Chan 2007-08-14 14:10:40 UTC
Currently, the schema for msData/particles/particlesOb003.xsd is valid.  Within the schema, the namespace constraint is specified but the process Contents constraint is absent; therefore, defaulting in 'strict'.  

The xml instance that follows this schema follows the namespace constraint specified but the element that it declares is not declared in the schema.  Because the processContents is defaulted to 'strict', the instance should report an error and the scenario used to should an invalid scenario.  A simple change in the scenario to test this instance should result in a successful testcase.

The following instances follow the same pattern as above:
Ob006
Ob007
Ob012
Ob015
Ob022
Ob042
Ob047
Ob048
Ob052
Ob054
Ob057
Ob059
Ob060
Comment 1 Michael Kay 2010-04-23 15:57:05 UTC
The issue here seems to be that the result depends on what schema you use for validation. Is it the schema built from the schema documents listed in the metadata? Or do you add the schemas listed in the xsi:schemaLocation attribute in the instance? The test suite documentation is unclear. Perhaps we need to add metadata to the test catalog to say whether xsi:schemaLocation should be honoured.
Comment 2 David Ezell 2010-04-23 16:07:37 UTC
WG decided that the sense of the test is correct, but the intention would be clearer by adding the schema document referenced in the instance to the metadata.  Same for the other tests listed below.