Hi Folks, First, you are all to be commended with your xerces implementation of XML Schemas. Great job!
There is one important piece of functionality which remains unimplemented in xerces. As you know, when doing an <import> you ordinarily supply two attributes, namespace and schemaLocation, e.g., <xsd:import namespace="http://www.sensor.org" schemaLocation="..."/> However, schemaLocation is actually optional. That is, you can specify an <import> without "hardcoding" in a schema to implement the namespace, e.g., <xsd:import namespace="http://www.sensor.org"/> Thus, at run-time (schema validation time) you identify a schema which implements the namespace. For example, an instance document might identify a schema, BostonSensors.xsd, as the schema to use for implementing the http://www.sensors.org namespace, e.g., xsi:schemaLocation="http://www.sensors.org BostonSensors.xsd ..." (Another instance document may identify a totally different schema document as providing the implementation of the namespace! This is a very powerful technique.) The ability to leave unspecified a schema which implements a namespace enables an extremely powerful design pattern called "dangling types". For more info on this design pattern see: http://www.xfront.com/VariableContentContainers.html#method4 Thus, I come before you asking for you to implement this functionality. None of the other validators implement this yet, so you would be first to market. Thanks for your time. /Roger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
