[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Will XML Schema 1.1 get traction?

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Wed, 15 Aug 2012 10:00:05 +1000

Re:  Will XML Schema 1.1 get traction?
XSD schemas tend to be compiled into code, rather than dynamically
used.  So a change the the schema can be a big deal, especially after
deployment. A schema change often means a new release of the
application or database.

So it isn't so much whether there are two files, but whether there are
two levels to allow agility.  (In XSD, you could get the effect by,
say, having a base schema that changes rarely and is used for
compilation, and a derived schema that has the asserts in it, and is
loaded dynamically.  But I don't see people actually doing that, while
I do see the grammar + schematron combination.)

Cheers
Rick Jelliffe


On Wed, Aug 15, 2012 at 1:11 AM, Andrew Welch <andrew.j.welch@gmail.com> wrote:
> On 14 August 2012 15:57, John Cowan <cowan@mercury.ccil.org> wrote:
>> Rick Jelliffe scripsit:
>>
>>> I have reached the stage where I think every enumerated list in an XSD
>>> (or RELAX NG, or DTD) should be regarded as guilty until proven
>>> useful, unless they are stable and unlikely to change in the lifetime
>>> of a schema.
>>
>> I agree in principle.  However, such constructs may be not so much a
>> schema smell as an organizational smell.  Excluding lists from schemas
>> presumes that someone else is in the business of making and validating
>> them
>
> I don't really see a problem with holding the enumerations in a file
> of their own and versioning them separately to the main xsd.  That's
> no different to external code lists, and it avoids the separate
> additional validation step.
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.