2013-03-20 68 views
0

我有一個xml,其屬性在值中有引號。有沒有任何可能的方式來驗證XML與XSD?驗證其屬性值中帶有引號的xml中的xsd

的XML:

<root> 
    <item size="11"x17""/> 
</root> 

錯誤:

Error displayed: Assertion failure message: fatal: line=5 col=268 Element type "item" must be followed by either attribute specifications, ">" or "/>". 
+0

[得到了答案?](http://stackoverflow.com/faq#howtoask) – 2013-03-25 16:30:48

回答