Justin, I ported AppSchemaValidator to use EntityResolver2, required for relative schema locations: https://github.com/jdeolive/geotools/pull/1
Note that xmlcodegen still fails to build (I commented it out for testing). With noxmldeps GeoTools, there is a unit test failure in GeoServer (app-schema-test SecondaryNamespaceExceptionTest). Looks like a side effect of your dexercesification is that undefined namespace prefixes (null:) are now passed through the GML32OutputFormat XSLT rather that causing an ows:ExceptionReport. Not sure why. I also needed to remove the xerces dependencies in the release module. Nice work! You are pretty close. Now just that pesky Xalan (app-schema GeoServer plugin, so off-topic). Any XSLT gurus willing to help backport to Xalan 2.6 (in the JDK)? https://jira.codehaus.org/browse/GEOS-5352 Kind regards, Ben. On 23/10/12 08:29, Justin Deoliveira wrote: > Hi all, > > So I recently I took a crack at removing the xerces dependency as we > discussed in our last skype meeting. For the most part this was > relatively straight forward. Unfortunately one thing i wasn't quite able > to figure out was some stuff in app-schema-resolver module. The > AppSchemaValidator class uses an implementation of what > was XMLEntityResolver directly in xerces. I tried porting this to the > jaxp EntityResolver interface which is included in the JDK, but couldn't > make it work. So I think i will need some help there. Or we can simply > keep xerces as a dependency of just app-schema. > > Here is the branch I am currently working on. > > https://github.com/jdeolive/geotools/tree/noxmldeps > And the corresponding geoserver branch: > > https://github.com/jdeolive/geoserver/tree/noxmldeps > > WIth these changes all unit tests pass in both code bases, and so do the > GeoServer cite tests. > > -Justin > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel