name_array elements with quotes
I've noticed the element Name_array contains a list of names without quotes, shouldn't be better to make them quoted names? that would allow names with spaces, like this:
<Name_array id="abc" count="3"> "hello" "how are you" "I'm okey, thanks" </Name_array>
An alternative would be to change all the spaces to %20, as in HTML.. I think I've seen a unicode version of that somewhere, too. (&0020?).
Originally Posted by glaforte
I don't think this is possible, since some xml parsers replace the %20 by spaces as soon as they load the document in memory, at the time you read the table from the DOM, you would not be able to distinguish between the true spaces and those replaced by %20
Spaces are not allowed in the <Name_array> . The data type is a list of XML Schema Name (<xs:Name>) values. The legal characters for <xs:Name> are documented here:
http://www.w3.org/TR/2004/REC-xmlschema ... 1028/#Name
As you can see, the only punctuation characters allowed are | '.' | '-' | '_' | ':' |.