Justin,

at Monday's meeting we were wondering if you have had time to progress 
the removal of (external) Xerces dependencies. My understanding is that 
you were pretty close. Or are you waiting until after this release cycle?

Kind regards,
Ben.

On 02/11/12 15:43, Ben Caradoc-Davies wrote:
> 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

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to