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

RE: Identifying the subcommunity which generated an instance d

  • From: Len Bullard <len.bullard@u...>
  • To: "Costello, Roger L." <costello@m...>, xml-dev@l...
  • Date: Fri, 25 Jul 2008 11:08:45 -0500

RE:  Identifying the subcommunity which generated an instance d
Not sure how people handle this now, but it was one of the uses of PUBLIC
ids: to indicate the authority for the resource type.

len


From: Costello, Roger L. [mailto:costello@m...] 
 
Hi Rick,

> I don't think I have ever seen an XML 
> document where I didn't know where it 
> came from 

Suppose that you receive an instance document from the book community.
It may have been generated from a book seller, a book distributor, or a
book printer.  You don't know which subcommunity generated it.  You
only know that it came from the book community.

You want to validate the instance document you've just received.  

Suppose there is a Schematron schema for each subcommunity, i.e.
book-seller.sch, book-distributor.sch, and book-printer.sch.  Which
schema should you apply to the instance document?

There are three possibilities:

1. You received information out-of-band that the instance document came
from the book-seller subcommunity, so you apply book-seller.sch.

2. You peek inside the instance document and see role="book seller" so
you apply book-seller.sch.

3. You peek inside the instance document and see the subcommunity
processing instruction with role="book seller" so you apply
book-seller.sch.

What do you think?

/Roger

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.


[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.