Closed Bug 333008 Opened 18 years ago Closed 8 years ago

External Instance documents can include their own schema file

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: doronr, Unassigned)

Details

An .xml file can include its own schema file using attributes, like xsi:noNamespaceSchemaLocation (in the root node).

This would require us to store a schema per instance document somewhere, since if we have 2 instance documents that use xsi:noNamespaceSchemaLocation (which means null namespace), we couldn't store them in a nsISchemaCollection since only one entry per namespace is allowed.

So we probably would need a nsISchema on one of the instance document interfaces and init it if we need to, and the validation code would have to take that into consideration.
Assignee: aaronr → xforms
RIP xforms
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.