[Bug 5922] New: Allow an instance document to not be bound to any schema

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5922

           Summary: Allow an instance document to not be bound to any schema
           Product: SML
           Version: LC
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interchange Format
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-sml@w3.org


Section 5.4.3 "Schema Bindings" currently says:

"If an SML-IF consumer chooses to process the schemaBindings element and if the
optional defaultSchema element is present, then an SML-IF consumer MUST 
compose a default schema from this element following rules 1 to 3 above,
replacing SB in the text with DS (i.e., the /model/schemaBindings/defaultSchema
element). Otherwise, an SML-IF consumers MUST  compose a default schema using
*all* schema documents included in the SML-IF document. An SML-IF consumer MUST
use this default schema to validate those SML instance documents that are not
included in any schemaBinding."

This means that every instance document in the IF package is validated using
some schema, either one that's explicit bound, or the default schema.

In bug 5797, the WG clarified that SML model instance documents are allowed to
not  be bound to any schema. IF needs to be updated to allow this.

Maybe we should add a new <noSchemaBinding> sub element under <schemaBindings>.
It contains any number of <documentAlias> elements. If an instance document
matches one of the <documentAlias>, then the default schema doesn't apply to
it.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 31 July 2008 20:07:13 UTC