[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] XSD 1.1 versus the tandem of XSD 1.0 plus Schematron
- From: "Jack Lindsey" <Jack@Lindsey.net>
- To: <xml-dev@lists.xml.org>
- Date: Sat, 18 Aug 2012 13:06:58 -0400
I have limited exposure to Schematron but I understand its assertions only
apply to elements in xml instance documents identified by XPaths.
Since XSD 1.1 assertions can be applied to types too, a single statement
could potentially control the validation of all elements using such a type,
plus all the elements using a type derived from that type, in any instance
referencing that schema.
Is that not potentially a powerful efficiency?
Cheers
Jack Lindsey
Jack@Lindsey.net
+1 613-884-4131 iPhone
+1 613-824-4131 Home
793 Adencliffe Drive
Orléans ON K4A 3E4
Canada
http://www.linkedin.com/in/jacklindsey
-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com]
Sent: 15-August-2012 18:55
To: Costello, Roger L.; xml-dev@lists.xml.org
Subject: Re: [xml-dev] XSD 1.1 versus the tandem of XSD 1.0 plus Schematron
This is rather like arguing that a new Java feature will never catch on
because Java has always had the ability to call functions written in C.
Michael Kay
Saxonica
On 15/08/2012 21:17, Costello, Roger L. wrote:
> Hi Folks,
>
> XML Schema 1.1 has twenty-one new capabilities.
>
> How do those new capabilities stack up against a tandem of 1.0 and
Schematron? Can the new capabilities be implemented using the existing 1.0
schema technology plus Schematron?
>
> It is an important question. Organizations are well entrenched in their
1.0 XSDs plus their Schematron schemas. They have invested heavily in these
technologies. And they have expertise in these technologies. And there is
good support for these technologies.
>
> So what is the benefit of switching to XSD 1.1? Will it provide more
capabilities than the existing tandem of XSD 1.0 and Schematron?
>
> This paper attempts to shed some light on these questions.
>
> Here is a Venn Diagram. The left circle is XSD 1.1. The right circle is
XSD 1.0 plus Schematron. The new capabilities in XML Schema 1.1 are shown.
If the new capability can be equivalently expressed using a tandem of XSD
1.0 plus Schematron then it is in the intersection. If the new capability
cannot be equivalently expressed then it is to the left, exclusively in the
XSD 1.1 circle. Capabilities that are unique to XSD 1.0 plus Schematron are
to the right, exclusively in the XSD 1.0 plus Schematron circle.
>
> More ...
> http://www.xfront.com/Overlap-between-XML-Schema-1-1-and-XML-Schema-1-
> 0-Plus-Schematron.pdf
>
> Comments?
>
> /Roger
>
> ______________________________________________________________________
> _
>
> 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
>
>
_______________________________________________________________________
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]