簡體   English   中英

如何修復Tibco BW Coercion映射錯誤?

[英]How fix Tibco BW Coercion mapping err?

我有一個anyType元素要映射到映射器,但是當我按照說明在左側面板“ Process Data”中選擇xsd時,在右側“ Activity Input”中看到了一個紅色錯誤。

強制錯誤:替換的類型“雇員”不是元素類型的子類型(檢查強制列表);

這個Employee.xsd非常簡單:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema>
<xsd:element name="Employee">
    <xsd:annotation>
        <xsd:documentation>
            This generates emp statue change event whenever
            any part of Employees change (retire, resign, leave,)
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element name="EmployeeID">
                <xsd:annotation>
                    <xsd:documentation>
                        This is the EmployeeID which is equivalent
                        to emp_ID Unique identifier for a specific  Employee;
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="50"/>
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>
</xsd:schema>

但是為什么不能強迫呢?

謝謝

聽起來您嘗試使用強制覆蓋現有元素。 強制僅對“任何”元素起作用! 您介意將實際流程上載到此應用程序嗎?

干杯

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM