[Home] [By Thread] [By Date] [Recent Entries]
> >Why not store the entity declarations in a hash table, hashed by name? > > Yes, that might be a good way to do it. > > Of course the entity declarations will have the (maybe absolutized) > system ID rather than the maybe-redirected retrieval URI, since they > aren't normally fetched at the time they're declared. True. > But at least I would know which were external entities. (Internal > entity boundaries are not relevant to base URI calculation.) And if you could get your SAX parser to call back on the EntityResolver2 interface, it might give you the BaseURI. > When I started, I wasn't expecting to have to look at the entity > declarations at all! Well, SAX is for real men! ;-) Karl
|

Cart



