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

Re: SAX 2.0 baseURI property was: Re: SAX 2.0 Enhancementproposal(2ndEd)

  • From: Jonathan Borden <jborden@m...>
  • To: Rob Lugt <roblugt@e...>, xml-dev@l...
  • Date: Fri, 15 Jun 2001 18:08:15 -0400

Re: SAX 2.0 baseURI property was: Re: SAX 2.0 Enhancementproposal(2ndEd)
Rob Lugt wrote:
> > >
> >
> > Jonathan, I like this proposal... a lot.  Unless I am missing something
I
> > imagine others will feel the same.  It has the advantage of leaving
> > EntityResolver, DTDHandler and Locator unchanged, but seems to provide
the
> > required information.
> >
>
> Unfortunately I can think of at least one example where it would not give
> the correct value.  If the original system identifier was absolute, the
> "difference" algorithm could still result in a relative URI.  This,
> presumably, would not be the desired outcome.
>

It depends on what the desired outcome is, and what the intentions of the
entity catalog remapping are. For a class of baseURIs and absoluteURIs it
will be obvious that the "difference" may only share a "http:" scheme (for
example), so this will be obvious.

I haven't investigated for which range of URIs this is helpful etc. I am
just trying to come up with a reasonable solution that does not depend on
changing a huge number of installed parsers, and hence will facilitate the
adoption of entity resolution software.

-Jonathan



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.