Justin and Andrea,

for complex feature types, wfs GML3OutputFormat uses an XSLT to avoid a 
potentially expensive call to FeatureCollection.size(). As gt-app-schema 
is the only current source of complex features, this might be 
misconstrued as "app-schema support", but it is not, because in general 
any DataAccess that is not a DataStore will produce complex features.

To put GeoServer on a diet, Andrea removed the xalan dependency from 
GeoServer proper and added a test dependency on xalan to keep 
app-schema-test running. This is fine, up to the point that we want to 
make a deployable app-schema plugin. Because nothing depends on xalan 
outside the test scope, the xalan jar is not in 
release/target/dependency and cannot be included in the app-schema 
plugin by ext-app-schema.xml.

*The geoserver-2.2-SNAPSHOT-app-schema-plugin.zip built today will not 
work for WFS because no xalan jar is included anywhere.*

To cut a long story short, what is the right way to get the xalan jar 
into the app-schema plugin zip? I can see a couple of options:

(1) Add xalan as a compile dependency of GeoTools gt-app-schema. This is 
nasty: the dependency is being added because of the behaviour of a 
consumer of gt-app-schema that GeoTools should not know about. In my 
view, this would put the dependency in the wrong place.

(2) Add xalan as a compile dependency of GeoServer wfs. This makes sense 
to me, because wfs is the thing doing the transforming. We could leave 
xalan out of release/bin.xml and put it in release/ext-app-schema.xml so 
it is shipped with the app-schema plugin. This oddity should be 
documented in wfs/pom.xml and release/bin.xml. But then, what about the 
war? Will xalan be included in geoserver.war if we do this?

(3) Add xalan as a dependency of the release module.

What do you recommend?

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to