|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX Locator vs {start,end}Entity
> >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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








