【发布时间】:2012-08-24 00:01:00
【问题描述】:
我使用 Xerces 来验证 XML,但是对于枚举为 {Profit & Loss} 的标签
当我以Profit & Loss 给出值时,Xerces 给出错误:
The entity name must immediately follow the '&' in the entity reference.
<in-ab:TypeOfReport>Profit & Loss</in-ab:TypeOfReport>
【问题讨论】:
标签: xml html-entities xerces