获取以下错误:
(配置) :org.xml.sax.SAXException:Open引号用于与元素类型“名称”关联的属性"{1}“。
在上传以下xml文件时。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" "uwl_configuration.dtd">
<UWLConfiguration version="1.0">
<ItemTypes>
<ItemType name= ”uwl.task.webflow.TS8880003.SAP_ECC_HumanResources” connector=”WebFlowConnector” defaultView=”DefaultView” defaultAction=”viewDetail” executionMode=”default”>
<ItemTypeCriteria systemId=”SAP_ECC_HumanResources” externalType=”TS8880003″ connector=”WebFlowConnector”/>
<Actions>
<Action name=”Approve” groupAction=”yes” handler=”UserDecisionHandler” returnToDetailViewAllowed=”yes” launchInNewWindow=”no”>
<Properties>
<Property name=”decisionKey” value=”1″ />
</Properties>
<Descriptions default=”Approve”/>
</Action>
<Action name=”Reject” groupAction=”yes” handler=”UserDecisionHandler” returnToDetailViewAllowed=”yes” launchInNewWindow=”no”>
<Properties>
<Property name=”decisionKey” value=”2″ />
</Properties>
<Descriptions default=”Reject”/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>发布于 2019-11-26 07:45:38
现在,我收到了新的错误“根元素前面的文档中的标记必须是格式良好的”。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" "uwl_configuration.dtd">
</UWLConfiguration version="1.0">
</ItemTypes>
<ItemType name="uwl.task.webflow.TS8880003.SAP_ECC_HumanResources connector"="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS8880003" connector="WebFlowConnector"/>
<Actions>
<Action name="Approve" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="1" />
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="Reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="2" />
</Properties>
<Descriptions default="Reject"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>https://stackoverflow.com/questions/59029817
复制相似问题