[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: Chris Maloney <voldrani@gmail.com>
  • To: stephengreenubl@gmail.com
  • Date: Mon, 13 Jun 2011 12:21:07 -0400

Re:  RE: Compelling use case for XML Catalogs?
On Mon, Jun 13, 2011 at 11:41 AM, Stephen D Green
<stephengreenubl@gmail.com> wrote:
> I think XML Catalogs would be more interesting if, besides binding
> URLs to internal resources, they could bind namespaces to internal
> resources.

As Michael says, this use-case is already supported.  The values of
namespace nodes are URIs (sort of), and XML Catalogs can map any URIs
onto any other URIs (local usually).

> Still, there would be limitations which might be quite irksome
> though, such as: Binding a namespace to a local schema might be
> then be achievable, but what about stylesheets, etc? It would have to
> be a lot more sophisticated to handle all the kinds of scenarios Roger
> seems to be envisioning, such as all the uses of URLs with XML.

What you want here is an RDDL, if that's still in vogue.  See (for
example) "RDDL Me This: What Does a Namespace URL
Locate?",http://www.xml.com/pub/r/1003

In general, if you're going to put a namespace URI into a catalog, I'd
think you'd just want to grab a local copy of whatever that URI points
to, and set your catalog to resolve to that local copy ... just as
with any other type of resource.


>
>
> On 13 June 2011 16:28, David Lee <dlee@calldei.com> wrote:
>>
>> Interesting question, but I fail to see the issue.
>> What would be the use of an XML Catalog that "handled" unknown or
>> unexpected
>> URL's ?
>> What would be the expected behavior (besides "not found") for a URL which
>> was not registered in the catalog ?
>>
>>
>> ----------------------------------------
>> David A. Lee
>> dlee@calldei.com
>> http://www.xmlsh.org
>>
>> -----Original Message-----
>> From: Costello, Roger L. [mailto:costello@mitre.org]
>> Sent: Monday, June 13, 2011 11:25 AM
>> To: xml-dev@lists.xml.org
>> Subject: RE:  RE: Compelling use case for XML Catalogs?
>>
>>
>> John Cowan responded to my post:
>>
>> > 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
>> >> identifiers.)
>>
>> The inability of XML Catalog to check for the presence of correct URLs
>> seems
>> like a significant limitation.
>>
>> XML Catalog only works if:
>>
>>    - you have pre-knowledge of exactly what URLs will
>>      be present in the XML (XSLT, XSD, RNG, SVG, etc.)
>>      documents that you receive/process
>>
>>     - the XML documents will always contain the correct
>>       URL; there will never be any accidental or malicious
>>       alteration of URLs
>>
>> Yes?
>>
>> /Roger
>>
>>
>> _______________________________________________________________________
>>
>> 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.