NewsBot
1
On a related note to my previous question, how come if I declare an xml file like this I get errors:
testfalse******
***</font color="#a52a2a"data/font>
</font color="#a52a2a"settings/font>
My schema defines a type attribute, and if I remove the xsi:type attribute from the second setting attribute the file validates OK. But if I insert that xsi:type attribute then validation complains about all the rest of the attributes in that element. (Not in the previous element.)
(Before everyone shouts at me, I didn't create the stupid schema that defines the type attribute, and probably most crucially that schema doesn't define a target namespace.)
Sigh... This is all proving a complete pain in the bum, and it may just be easier to check the "type" attribute and parse accordingly... Urgh! Annoyingness.
More...
View All Our Microsft Related Feeds
testfalse******
***</font color="#a52a2a"data/font>
</font color="#a52a2a"settings/font>
My schema defines a type attribute, and if I remove the xsi:type attribute from the second setting attribute the file validates OK. But if I insert that xsi:type attribute then validation complains about all the rest of the attributes in that element. (Not in the previous element.)
(Before everyone shouts at me, I didn't create the stupid schema that defines the type attribute, and probably most crucially that schema doesn't define a target namespace.)
Sigh... This is all proving a complete pain in the bum, and it may just be easier to check the "type" attribute and parse accordingly... Urgh! Annoyingness.
More...
View All Our Microsft Related Feeds