Hi all,

thanks a lot for your help on the previous rendering issue. There is one 
more aspect where I am bit puzzled about what to do: To be able to read 
the INSPIRE GML 3.2.1-based GML application schema, we wrote a handler 
based on Apache XmlSchema classes 
(http://ws.apache.org/commons/XmlSchema/). In general, it works fine. 
However, when I try to use a org.geotools.xml.Parser to read a GML 3.1 
or GML 3.2 file afterwards, this Parser does not return a

FeatureCollection<? extends FeatureType, ? extends Feature>

but rather a simple HashMap. I assume this has to do with the fact that 
when calling the Apache XmlSchema classes first, a different 
implementation of the SAXParser gets loaded compared to when the 
Geotools parser is loaded first. So I have two questions:

- Can you confirm this as the source of the aforementioned issue?
- If yes, is there a way to tell the GeoTools Parser which SAX 
implementation to use? I checked whether there are any System properties 
set on this, but it doesn't seem to be the case.

The source code for the Apache-based SchemaImporter can be viewed here:
http://www.esdi-community.eu/repositories/entry/hale/Client/src/eu/esdihumboldt/hale/models/impl/SchemaServiceImplApache.java

Thanks a lot & best regards,

Thorsten

-- 
-------------------------------------------------------------------
Fraunhofer Institute Computer Graphics
Fraunhoferstraße 5
64283 Darmstadt
Germany

Thorsten Reitz
phone: + 49 6151 155 - 416
email: thorsten.re...@igd.fhg.de
http://www.igd.fhg.de
-------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to