Vadim Gritsenko wrote:
Antonio Gallardo wrote:
The problem is the old org.apache.xerces.dom3.UserDataHandler does not
exists in the new Xerces version.
What to do?
There are at least two options:
* Go back to older xerces :-)
* Check presense of the new xerces using reflection,
and make sure code works with both old xerces and new one.
Or use another approach that relies neiter on DOM3 nor on
Xerces-specific extensions. I suggested a long time ago (see [1]
"Implementation") a SAX filter that would add Locator information as
attributes to get rid of CForms' LocationTrackingDOMParser, but the itch
wasn't scratching enough.
Seems like the time has come now :-)
Sylvain
[1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106858374501055&w=2
--
Sylvain Wallez Anyware Technologies
http://apache.org/~sylvain http://anyware-tech.com
Apache Software Foundation Member Research & Technology Director