Re: SAX2: When to resolve System Ids

"Karl Waclawek" <[email protected]> Wed, 31 Mar 2004 11:06:52 -0500
Newsgroups gmane.text.xml.sax.devel
Message-ID <001b01c4173a$2edeec80$9e539696@citkwaclaww2k>
> > For the .NET port this is less of an issue, of course.
> > To which degree would this incompatibility be a problem
> > in the real world? In the .NET world, for instance,
> > if you pass a "relative" and base URI to the Uri class
> > for absolutizing the relative Uri, it will simply ignore
> > the base Uri if the relative Uri is already resolved.
> > Does it work the same in Java?
> 
> It's not a relative URI if it's already resolved. What if your application 
> wants to use a different base URI instead of the one the parser would use? 
> If the URI has already been absolutized you cannot do this.

True, but how often does that happen? And if one needs that feature,
why should one need it only for externalEntityDecl(), but not for
notationDecl() or unparsedEntityDecl()? I am not doubting your
arguments, just trying to get a handle on the real world impact.
 
Karl 

(Karl's Toronto Lab) ;-)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel