giteshch / ifc-dotnet

Automatically exported from code.google.com/p/ifc-dotnet
0 stars 0 forks source link

handling different namespace in ifcxml #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. When exporting drawings from different CAD programs (like ArchieCad) to 
ifcxml the name space in the exported file is not allways like 
"xmlns:ex="urn:iso.org:standard:10303:part(28):version(2):xmlschema:common". 
Usually it is "urn:oid:1.0.10303.28.2.1.3" or 
xmlns:ex="urn:iso10303-28:ex".

2. Deserialization of those files fails with:
System.InvalidOperationException : There is an error in XML document (2, 2).
  ----> System.InvalidOperationException : <iso_10303_28 xmlns='urn:iso10303-28:ex'> was not expected.

3. If I manually change the namespace in the file deserialization works fine.

---------------

Probably those namespaces shoould be handled also.

Original issue reported on code.google.com by marjan....@gmail.com on 17 Aug 2011 at 9:10

GoogleCodeExporter commented 8 years ago

Original comment by iainsproat on 25 May 2012 at 4:13