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

Re: RE: Compelling use case for XML Catalogs?

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Mon, 13 Jun 2011 11:05:54 -0400

Re:  RE: Compelling use case for XML Catalogs?
Costello, Roger L. scripsit:

> Does XML Catalog have the ability to express this:

[snip various conditional things]

No, of course not.  Catalogs can only express one thing: when you
see this URI, use this other URI instead.  (And ditto for public

> If it does not, how would you avoid a spoofing attack?

You can't.  If you want to make sure a document that you have received
validates against a DTD of your choice, convert the DTD to a RELAX NG
schema and validate against that instead.  Because you get to specify
the schema to validate against, this is safe.

In general, XML validation asks the question "Is this document
self-consistent?" because the DTD is really part of the document.  XSD
validation (at least with typical XSD tools) asks the question "Is this
document consistent with the schemas it refers to?"  RNG validation asks
the question "Is this document consistent with this schema?"  IMHO the
last is the most interesting question.

But the next day there came no dawn,            John Cowan
and the Grey Company passed on into the         cowan@ccil.org
darkness of the Storm of Mordor and were        http://www.ccil.org/~cowan
lost to mortal sight; but the Dead
followed them.          --"The Passing of the Grey Company"

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.