Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Justin Deoliveira
Hi Peter, Nice work!! I see that I just missed you on irc. I am jdeolive, ping me the next time you are on and we can talk about any issues you are having with the xml parser. -Justin Bolla Péter wrote: > Hi, > >> Also. Do we have a module set up for you yet? I don't see on in the >> repository

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi, > Also. Do we have a module set up for you yet? I don't see on in the > repository but I notice that you have a wiki page. This should be enough > to get you an unsupported module. If we did it might be easier for me to > help out. I've just committed the two modules, gpx and xml-gpx under th

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi Justin, > Also. Do we have a module set up for you yet? I don't see on in the > repository but I notice that you have a wiki page. This should be enough > to get you an unsupported module. If we did it might be easier for me to > help out. No, I don't have the module set up yet. I don't know,

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Justin Deoliveira
Hi Peter, I just submitted the fix for this issue so if you are running from svn you can update and get the fix. As for this log error... my guess is that the schema is not being specified correctly to the parser so it cannot find the proper schema elements as it parses. You can change this behav

Re: [Geotools-devel] gt2-xml binding

2007-08-21 Thread Bolla Péter
Hi Justin, Earlier, when I generated the bindings, I have had to modify the XSD as you suggested below. But now, as I filled the bindings, and tried to test, I had to remove the ":gpx" after the "xmlns", because otherways it didn't worked, told me that "Could not find declaration for: ... Crea

Re: [Geotools-devel] gt2-xml binding

2007-07-28 Thread Bolla Péter
Hi, Thank you for the answer! The bean generation with jaxb worked perfectly, and the result compiled fine. The gpx.xsd contained an 'xmlns="http://www.topografix.com/GPX/1/1";' attribute, so I only extended this to look like the one you mentioned, and it worked that way. Now I'm going to fill

Re: [Geotools-devel] gt2-xml binding

2007-07-28 Thread Justin Deoliveira
Hi Peter, It appears that you have indeed found a bug in the code generator. It seems that when a schema does not explicitly map a namespace prefix to the target namespace of the schema the code generator dies. I have scheduled a jira task to fix this. http://jira.codehaus.org/browse/GEOT-1414

[Geotools-devel] gt2-xml binding

2007-07-27 Thread Bolla Péter
Hello, I tried to create gt2-xml style bindings for the gpx format, with the help of the tutorial ( http://docs.codehaus.org/display/GEOTDOC/0+Purchase+Order+Parsing+Tutorial ). The beans get generated well, but when doing the bindings generation with mvn org.geotools.maven:gt2-xmlcodegen:gene