[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Mon, 10 Sep 2012 18:06:27 +0100

<xs:attribute name="lang"><xs:simpleType><xs:union 
memberTypes="xs:language"><xs:simpleType><xs:restriction 
base="xs:string"><xs:enumeration 
value=""/></xs:restriction></xs:simpleType></xs:union></xs:simpleType></xs:attribute> 
Notice that the XML is all smashed onto one line.

Why is there such a difference in behavior?

Because IE's XML parser incorrectly strips whitespace text nodes. An 
old, old problem.

You can write all the specs you like but you can't make Microsoft 
implement them...

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member