XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Strategy for upgrading schemas to XML Schema 1.1?

Ah, excellent. Thanks Michael. So, here is a skeletal strategy for upgrading to XML Schema 1.1:

Step #1: Switch to an XML Schema 1.1 validator. Since a 1.0 schema is a 1.1 schema this change will have no impact.

Step #2:  Eliminate a processing step that's currently occurring after XSD validation (XML Schema 1.1 can do what you are currently doing in Java code or with Schematron).

Step #3: Do stricter/stronger validation than you are currently doing (there's lots of facilities in XML Schema 1.1 for this).

Step #4: Make your schema components more reusable.

/Roger


-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com] 
Sent: Tuesday, April 26, 2011 9:02 AM
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Strategy for upgrading schemas to XML Schema 1.1?

On 26/04/2011 13:46, Costello, Roger L. wrote:
> Hi Folks,
>
> Has anyone developed a strategy for upgrading their XML Schemas to XML Schema 1.1?
>
> A 1.0 schema is a 1.1 schema. Thus, you can switch to using a 1.1 validator today and there will be no impact. Switching to using an XML Schema 1.1 validator is step #1.
>
> What's the next step?
>

Depends on your business objectives. For example, you might want to 
eliminate a processing step that's currently occurring after XSD 
validation, or you might want to do stricter/stronger validation than 
you are currently doing, or you might want to make your schema 
components more reusable.

Michael Kay
Saxonica

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS