Hello,
I have a electrical schematic in visio that i'm trying to parse for data to display in another program. I unzip the visio file and parse the XML pages for data fields. My problem is that in a certain case the data field will not be stored in the shape XML data, but it's still visible in Visio so the information must be somewhere but i can't find it. The other problem is that this only happends when the data field value is "1", any other value seems to work fine.

This is a typical connector in the schematic, it consists of 3 Pins that are grouped together, it has a Data field called REF that is called out to the label above it.

Each Pin has a data field with its number

Here is the XML data of this connector, you can see the group shape with ID 2010 and each grouped shape
ID 1994 Pin 1
ID 2002 Pin 2
ID 2006 Pin 3
Pin 2 and 3 both have a <Property> field with the "Pin" data field and the Value for that field. But Pin 1 does not have this data.
Now, if i decide to name Pin 1 something else, like say "1 " (it works with everything except "1")

So now the value has a blankspace after the number

When i look up the data field now Pin 1 has a <Property> field and you can see the "Pin" Value which is "1 "
Does anyone here know why the value disappears or where the information is saved?
Thankful for any help with this.