[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Is Schematron (using XPath 2.0) functionally a superset of XML Schemas?
- From: Michele Vivoda <idmichele@yahoo.it>
- To: "Costello, Roger L." <costello@mitre.org>, xml-dev@lists.xml.org
- Date: Sat, 10 Nov 2007 11:58:41 +0100 (CET)
Hi,
I use the schema also for its data-description
features: to know which element/attrs are allowed,
datatype etc, before validation,
to _produce_ instances, that then I will validate.
I think that it would be hard to
get the same description from a list of xpaths,
or at least I wouldn't know where to start.
Is it possible to go back from the schematron
to the w3c schema ?
Bye
Michele Vivoda
--- "Costello, Roger L." <costello@mitre.org> ha
scritto:
> Hi Folks,
>
> Is Schematron (using XPath 2.0) functionally a
> superset of XML Schemas?
>
> Using XPath 2.0, Schematron can now perform all of
> the grammar-type
> checks that XML Schemas does, e.g. check that the
> correct tags are
> being used, the tags are arranged properly, and the
> datatypes of each
> element and attribute are correct.
>
> Plus Schematron can perform co-constraint checks,
> cardinality checks,
> and algorithmic checks that XML Schemas cannot do.
>
> Are there things that XML Schemas can do that
> Schematron (using Xpath
> 2.0) cannot do?
>
> /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
>
>
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]