Hi Stef,
Because we implement JAXP interfaces, Xerces is required to implement
precisely those interfaces shipped with SAX 2.0.0. So, for the time being,
we can't add these interfaces.
That said, you can now get at the Locator2 functionality by checking for
the existence of the relevant methods on Locator implementations that
Xerces hands to a caller. You can see the last FAQ entry of faq-general
for details (I just wrote it last night so it's not been posted yet; you'll
need to build docs fromCVS. :) )
I don't know if this same technique wold work with Attributes2, but perhaps
it would...
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-3519, T/L 969-3519
E-mail: [EMAIL PROTECTED]
|---------+---------------------------->
| | Stef Epardaud |
| | <[EMAIL PROTECTED]|
| | m> |
| | |
| | 03/26/2003 10:36 |
| | AM |
| | Please respond to|
| | xerces-j-dev |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: SAX2 extensions 1.1 alpha ?
|
|
|
|
|
>---------------------------------------------------------------------------------------------------------------------------------------------|
Hello,
I have found the SAX2 extensions 1.1 alpha very useful, especially the
Locator2 and Attributes2 which add info that is in XMLLocator and
XMLAttributes.
Especially for Attributes2 it allows to know which attributes have been
specified or added by Xerces because they had a default or were IMPLIED.
Do you plan to add support for those extensions ?
If yes I have made support for Locator2 and am writing support for
Attributes2, if you want patches I'll send them.
Thanks.
--
# Stef Epardaud, # Teachers have potentially more power than military,
# Java Defeater # the former can teach us how to not need the latter.
# Earth # Lunatech Research,
# Solar System # soon we'll quit researching and start finding...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]