Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Is Schematron (using XPath 2.0) functionally a superset of XML Schemas? >Thread Next - Re: [xml-dev] Is Schematron (using XPath 2.0) functionally asuperset of XML Schemas? Re: [xml-dev] Is Schematron (using XPath 2.0) functionally a superset of XML Schemas?To: "Costello, Roger L." <costello@-----.--->, xml-dev@-----.---.--- Date: 11/10/2007 10:59:00 AM 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@m...> 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@l... > subscribe: xml-dev-subscribe@l... > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
