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

Processing instruction to designate a schema as subset of another?

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: XML Developers List <xml-dev@lists.xml.org>
  • Date: Wed, 26 Aug 2009 19:48:47 +0100

Processing instruction to designate a schema as subset of another?
Would it be feasible to use a processing instruction at the
top of an xml schema to designate it as a subset of another
schema (in the sense Rick Jelliffe recently mentioned on this
list of all instances valid by the subset schema being also
valid by the superset schema)? How would one go about
defining such a processing instruction? Would it have to be
something like DSDL - via ISO? I noticed Rick's mention of
the need for specifying a schema and/or namespace as a
subset of another schema and/or namespace and thought
maybe the problem could get critical mass of interest sufficient
to solving it. I have found the problem exists not only when
the subset schema has a different namespace; it was tricky
to find a way to define a subset without changing the
namespace when first working on subsets for the Universal
Business Language and I think people eventually just wrote
a second schema with the same namespace but without any
way other than an accompanying prose spec to show it as
defining a subset of a superset (the Standard UBL schemas).

Maybe to solve this a processing instruction could be defined
which specifies within a subset schema that it is a subset of
schema at location ABC, either same namespace or
namespace XYZ. There might also need to be a way to tell
tools (if feasible, I've no idea) that they should either allow
nodes of just the superset or not when the subset schema is
given as the schema for the instance. How then to get such
a PI or set of PIs specified and supported?

Otherwise it might be that one has to stick with prose and/or
accompanying (test) assertions such as those of Schematron
or (work-in-progress) OASIS TAG TC's Test Assertion Markup
Language (shameless plug).
---
Stephen D Green


[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-2011 All Rights Reserved.