Hi there,

I hope someone can help me. I am just looking into using geotools to help
parse a featuretypestyle but I'm having difficulty with the basics. I
receive a xml string as part of a message that is sent to a process I am
working on, the string contains some xml which I have the xsd for. The xsd
defines an xml structure that contains a featuretypestyle plus a few
extra's. I thought I start by trying to parse a string containing a
featuretypestyle. I first tried to take the geotools xsd file structure and
run xjc on FeatureStyle but xjc didn't like the xsd file and reported :-

[ERROR] Element "{http://www.opengis.net/se}Value"; shows up in more
properties.
  line 831 of file:/C:/universedummy/xsd/OGC/se/1.1.0/Symbolizer.xsd

[ERROR] The following location is relevant to the above error
  line 830 of file:/C:/universedummy/xsd/OGC/se/1.1.0/Symbolizer.xsd

Failed to parse a schema.

I'm using Java 6 by the way.

So then I thought I would try using GTXML however I'm struggling to find
examples I can follow. In the user manual I found 
http://docs.codehaus.org/display/GEOTDOC/FeatureType+Parsing+and+Encoding
this  for 2.5 but  I get errors against the latest stable version of 2.4 I
am trying to use.

Can some one offer me some guidance or point me in the right direction
please.

Thanks

Steve


-- 
View this message in context: 
http://www.nabble.com/Parsing-a-featureTypeStyle-from-xml-tp18593439p18593439.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to