我正在使用 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>
我正在使用 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>