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

Re: Entity resolution vs. URI resolution


url vs uri
/ Elliotte Rusty Harold <elharo@m...> was heard to say:
| At 11:03 AM -0500 1/23/02, Norman Walsh wrote:
|
|>I maintain that adding a resolveURI(uri, baseURI) method to the SAX
|>API is "the right thing".
|>
|
| While this is important I just can't see any reason to put this in SAX
| instead of in java.net. In fact, I think this constructor probably

Yeah, well, getting SAX updated is probably slightly easier than
getting java.net changed :-)

| offers exactly the functionality you're looking for:
|
| public URL(URL context,
|             String spec)
|      throws MalformedURLException

Uhm. I'm confused. That'll return the stream, but I actually want the
URI to be passed through *the resolver* (for example XML Catalogs[1])
not blindly slurped across the net.

I want an entry point to do for URIs what resolveEntity() does for
external identifiers. And I maintain that calling a URI a system
identifier with a null public identifier is wrong.

                                        Be seeing you,
                                          norm

[1] http://www.oasis-open.org/committees/entity/spec.html
-- 
Norman.Walsh@S...   | One stops being a child when one realizes that
XML Standards Engineer | telling one's trouble does not make it
XML Technology Center  | better.--Cesare Pavese
Sun Microsystems, Inc. | 

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-2011 All Rights Reserved.