W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

PSVI: {document} property

From: Elena Litani <elitani@ca.ibm.com>
Date: Wed, 04 Sep 2002 16:20:30 -0400
Message-ID: <3D766B0E.1B7545B2@ca.ibm.com>
To: www-xml-schema-comments@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT