當我匯入xpdl檔案時出現這樣的錯誤,該如何解決?

和冰發表於2003-12-08
那位大蝦,請幫忙解釋一下這是什麼錯誤,如何解決?
當我匯入xpdl檔案時,出現如下錯誤:
2291325[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 131. Error message: Element type "Deadline" must b
e declared.
2291345[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 132. Error message: Element type "DeadlineConditio
n" must be declared.
2291375[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 133. Error message: Element type "ExceptionName" m
ust be declared.
2291385[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 135. Error message: Element type "Deadline" must b
e declared.
2291425[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 136. Error message: Element type "DeadlineConditio
n" must be declared.
2291455[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 137. Error message: Element type "ExceptionName" m
ust be declared.
2291475[ UtilXml.java:443:ERROR] XmlFileLoader: File file:/c:/ZnjTest
XPDL.xml process error. Line: 155. Error message: The content of element type "A
ctivity" must match "(Description?,Limit?,(Route|Implementation),Performer?,Star
tMode?,FinishMode?,Priority?,SimulationInformation?,Icon?,Documentation?,Transit
ionRestrictions?,ExtendedAttributes?)".

在規範中的“最終期限”已經明確的解釋,為什麼伺服器還提示“must be declared”。謝謝!

相關文章