RISCSoftware / cpacs_tigl_gen

Generates CPACS schema based classes for TiGL
Apache License 2.0
5 stars 5 forks source link

Improved CPACS parsing speed #4

Closed rainman110 closed 7 years ago

rainman110 commented 7 years ago

The function tixiRegisterNamespacesFromDocument seems to be very slow on large files. On my win machine, this process took forever. Therefore I registered the "xsd" prefix manually.

Now, things are smooth and fast. Of course, this is a TiXI issue and this is a clear workaround.

bernhardmgruber commented 7 years ago

fine.

could you just rename registerNamespaces(const std::string&, const std::string&) to registerNamespace (without the s)?

then I'll merge it :)

rainman110 commented 7 years ago

@dixxi Done!