|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: SAX Locator vs {start,end}Entity
> > >Why do you need to monitor the startEntity and endEntity > events to get > >the base URI? > > Because I want to take account of xml:base. The base URI of > an element is either: > > - the value specified by its xml:base attribute, if it has one, or > > - the base URI of its parent, if there wasn't an intervening entity > boundary, or > > - the retrieval URI of the containing entity. > But why can't you achieve that by looking at the systemId() of the Locator when startElement is called? Michael Kay
|
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








