Skip to content

xsi:schemaLocation and XSD 1.1 schema composition #10

Description

@brunato

Implementing a dynamic schema load for xmlschema package i found a set of test cases related with bug 4078.

This bug differentiates XSD 1.0 and XSD 1.1 about the logic of schema composition, so test cases addB156 and addB158 were marked as valid for XSD 1.1. But test cases addB159, addB162, and addB166 are still marked as invalid also for XSD 1.1.

I would ask if this is an oversight or if an additional discussion is needed before changing the state of these cases.

About XSD 1.1 schema composition as described in the 4th item of G.1.15, I'm unsure about the new rule described by this sentence:

Note, however, that if processing such an xsi:schemaLocation attribute causes new components to 
be added to the schema, then the new components cannot change the assessment outcome of 
any information items already seen before the element bearing the xsi:schemaLocation attribute.

What does it means? That I have to validate again the XML document considering the new added components? Or what else?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions