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

Re: Need a language whiz: An XML Schema "specifies" howdata is

  • From: Andrew Sales <andrew@andrewsales.com>
  • To: Frank Steimke <f-steimke@berger-und-steimke.de>
  • Date: Sun, 7 Jan 2018 22:17:24 +0000

Re:  Need a language whiz: An XML Schema "specifies" howdata is
It's a reality which (again) the publishing sector has been living with since ever publishers started using markup.
They acknowledge or cope with it to a greater or lesser degree: the old-style trope was to have an "authoring DTD" and a "publishing DTD", the latter more finely attuned to publication needs.
Nowadays, things like Schematron's phases also address this need quite elegantly.

Andrew

On 6 January 2018 at 13:02, Frank Steimke <f-steimke@berger-und-steimke.de> wrote:
This Idea is supported very well in the Oxygen Product: there you have so
called "validation scenarios", which is essentially a combination of
Schemata. You could have one validation scenario for "work in progress"
documents, and another scenario for "final" documents, both for the same
namespace. I would think that both scenarios would share the same XSD
Schema, but would differ in a "weak" vs "strong" Schematron Schema. In the
Oxygen IDE, it’s the users choice which scenario should be applied.

Out tool for validation and assessment, which I have mentioned in the mail
from Jan. 4th, tries to implement this idea of different validation
scenarios as a java library. Since there is no user interaction, you need
some mechanism to find out which scenario shall be applied. This can be any
XPATH expression. In the example given , I would think of a @status flag.

Frank

-----Ursprüngliche Nachricht-----
Von: Michael Kay [mailto:mike@saxonica.com]
Gesendet: Samstag, 6. Januar 2018 10:13
An: bryan rasmussen <rasmussen.bryan@gmail.com>
Cc: Costello, Roger L. <costello@mitre.org>; xml-dev@l...
Betreff: Re: Need a language whiz: An XML Schema "specifies" how
data is to be structured? "describes"? "constrains"?

>
> Theoretically, although I have never seen it with XSD and would
> probably think it was a weird use of the language, you could have
> multiple schemas for validating documents in the same namespace.

I have seen one client who was attempting to do this: essentially applying
stricter validation to "finished" documents than to "work in progress". It
proved quite difficult to manage the maintenance of different versions of
the same schema; I think this is something that would benefit from better
support in languages and tools.

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


_______________________________________________________________________

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]


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.