首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >对于与元素类型"name“关联的属性"{1}”,需要打开引号。

对于与元素类型"name“关联的属性"{1}”,需要打开引号。
EN

Stack Overflow用户
提问于 2019-11-25 10:34:56
回答 1查看 259关注 0票数 0

获取以下错误:

(配置) :org.xml.sax.SAXException:Open引号用于与元素类型“名称”关联的属性"{1}“。

在上传以下xml文件时。

代码语言:javascript
复制
<?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>
EN

回答 1

Stack Overflow用户

发布于 2019-11-26 07:45:38

现在,我收到了新的错误“根元素前面的文档中的标记必须是格式良好的”。

代码语言:javascript
复制
    <?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>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59029817

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档