[xsd-users] Some difficulties with GML/CityGML Tree Parser generation : a bug?

Erwann HOUZAY erwann.houzay at ign.fr
Fri Oct 23 10:52:18 EDT 2009


Yep I need a while to understand the pb source...

Thanks for the import-map and export-map combinaison options...

Could you had those informations in the wiki page associated to CityGML? 
It's interessting...

I also suggest to place the sample cache driver inside the files... It's 
very usefull...

Maybe you can advise the mainnteners of the CityGML.org website that 
your tool work pretty well... There's no other free libs in C++ that can 
load/write those files... It's also tested under Linux (Ubuntu)

Thanks again and good job!!!

Erwann




Boris Kolpackov a écrit :
> Hi Erwann,
>
> Erwann HOUZAY <erwann.houzay at ign.fr> writes:
>
>   
>> I still don't have all the child nodes.
>>     
>
> Ok, here is what's going on: you are compiling GML and CityGML schemas
> into static libraries but static linking is tricky in that only object
> files with symbols that are referenced from the executable are added.
> Files that are not directly referenced are ignored. In your case, files
> that define polymorphic derived types in the CityGML schemas but which 
> are not directly used by the test driver are not added to the executable.
> As a result, they are not available during parsing. I created a single 
> executable project with all the source code and without any libraries
> and it works as expected.
>
> You can use DLLs since they don't have this issue. I see you tried to 
> use the --export-maps option but you did it incorrectly. You need to 
> compile GML schemas with --export-maps and CityGML schemas with
> --import-maps. See the compiler documentation for more information
> on these options. Also, place xml-schema-custom.cxx into gml.dll.
>
> Boris
>
>
>
>
>
>
>   



More information about the xsd-users mailing list