[xsd-users] Help me: Borland C++ Builder 2007 compiled program has unwanted prefix and all property values are missing.

Boris Kolpackov boris at codesynthesis.com
Tue Oct 13 06:03:30 EDT 2009


Hi James,

James Mei <jxmei3 at gmail.com> writes:

> After I changed the libxsd/xsd/cxx/tree/containers.hxx, the program compiles
> and run in BCB 2007. However it still does not read the properties value 

This must be a bug in BCB, especially since it works with GCC. You can
try to figure out what's going on by debugging the code. Maybe you can
find a work-around. We don't test nor formally support this compiler
because of its very poor quality.


> and has "p1" prefix in front of every tag.
>
> [...] 
>
>  map[""].name = "http://www.codesynthesis.com/xsd/SCL";
>
> [...]
>
> xmlns="http://www.iec.ch/61850/2003/SCL"

Your document uses a different namespace so that's not surprising.
Try to use the same namespace in both places:

map[""].name = "http://www.iec.ch/61850/2003/SCL";

Boris



More information about the xsd-users mailing list