Re: [Sax-devel] Locator2 is wrong
Brought to you by:
dmegginson
From: Elliotte R. H. <el...@me...> - 2004-04-25 18:22:46
|
At 12:07 PM -0400 4/25/04, Karl Waclawek wrote: >The Locator interface provides entity related information, i.e. the >external Id (systemId, publicId). Even the line and column numbers >are specific to the 'current' entity. It makes sense to tie in other entity >related information, like XML version and encoding. That makes a little more sense, but still the interface is called Locator, not EntityInfo. The system ID, public ID, line and column number, are necessary to find the current location of the event. The encoding and version are not. Perhaps we could just rename Locator2 EntityInfo? I could believe that an EnitytInfo is a Locator; but no. Line and column numbers are not part of the entity info. They are different things. Hmm... -- Elliotte Rusty Harold el...@me... Effective XML (Addison-Wesley, 2003) http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA |