Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Versioning of XML Schema and namespaces

From: "Michael Kay" <mike@--------.--->
To: <John.Hockaday@--.---.-->, <xmlschema-dev@--.--->
Date: 5/6/2005 12:26:00 PM
> I found that the first draft of ISO 19139 was not valid.  It 
> hopefully will
> be valid in the final release.  The other problem is that I don't have
> control over how ISO 19139 identifies its schemalocation.  
> Can I trust that
> an International Standard will have versions in its schema 
> locations? 

I don't know anything about this particular standard, but I would expect a
spec like this

(a) to remain backwards compatible from one version to the next

(b) therefore, to continue using the same namespace from one version to the
next

(c) to include some kind of mechanism for identifying which version of the
standard an instance claims to conform to, such as a version attribute
within the instance.

I would then expect a recipient to read the version attribute, and to invoke
validation against an explicitly selected schema loaded from a known and
trusted location. Alternatively, a recipient might require that the instance
conforms to a specific version and simply load the schema for that version
from a known and trusted location.

I wouldn't expect the instance document to contain a schemaLocation
attribute, or if it does, I wouldn't expect a recipient to trust it when
doing validation. If say the sender has decided to leave out some mandatory
elements, and to create a local copy of the schema that makes them optional,
you as the recipient don't want validation to succeed.

Michael Kay
http://www.saxonica.com/



From John.Hockaday@g... Mon May 09 00:24:17 2005
Received: from ba


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent