PSVI: {document} property

The definition for {namespace schema information information items} [1]
includes 3 properties - {schema namespace}, {schema components}, {schema
documents}. The XML Schema Recommendation specifies that the {schema
components} property could be empty:
[[
The {schema components} property is provided for processors which wish
to provide a single access point to the components of the schema which
was used during assessment. Lightweight processors are free to leave it
empty.. 
]]

On the other hand, the specification seems to require that the
{documents} property should be exposed by all (including lightweight)
processors. Since exposing schema documents is as expensive as exposing
schema components, this requirement seems unreasonable, thus looks as a
bug in the spec.

Xerces2 does not expose this property via the post schema validation
infoset. Other implementations, such as MSXML from Microsoft, do not
seem to expose it either [2]. 

IMO, this is should be an erratum.


[1] http://www.w3.org/TR/xmlschema-1/#nsi-schema_documents
[2]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xml_obj_ischema_0sv5.asp

Thanks you,
-- 
Elena Litani / IBM Toronto

Received on Wednesday, 4 September 2002 16:20:39 UTC