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

re: PSVI

  • From: David Megginson <david@m...>
  • To: xml-dev@l...
  • Date: Sat, 03 Mar 2001 07:27:37 -0500

re: PSVI
Simon St.Laurent writes:

 > a) rely on PUBLIC identifiers mapped to a local cache.  Treat the
 > system identifier as merely a convenience for the sender, but
 > require PUBLIC identifiers which match to a list of DTDs maintained
 > by the program.  See http://xmlhack.com/read.php?item=392 for
 > information and Arbortext's implementation.

This works only if you control both ends of the transaction.
Normally, if you're *providing* information in XML, you won't control
the receiver's environment -- the receiver will be using an
off-the-shelf XML parser that automatically resolves the DOCTYPE using
the system identifier, and when their system stops working, they'll
come screaming to you (and at you).

I've received a few private e-mails from companies in the news
industry who learned this the hard way (usually by [expletive deleted] off an
important customer).

 > b) modify the DOCTYPE declaration of incoming documents to reflect a type 
 > your program expects, and point it at a local resource.  I've written a 
 > DOCTYPEChanger filter in Java which does this - 
 > http://simonstl.com/projects/doctypes/.  It's not that difficult.

Again, this doesn't help the provider, who is the one who has to
decide whether to include the DOCTYPE declaration in the outgoing
XML.  If I'm publishing XML that may be used by hundreds or thousands
of customers, many of whom have existing XML installations, can I
really trust that every one of them (or even most) will get something
like this right?


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

  • Follow-Ups:
    • re: PSVI
      • From: "Simon St.Laurent" <simonstl@s...>
  • References:

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.