【问题标题】:Error in XMI fileXMI 文件中的错误
【发布时间】:2015-09-07 15:54:37
【问题描述】:

我正在尝试在 java 中解析这个 XMI 文件http://pastebin.com/Ltp09cPD,这个文件是用 ArgoUML 生成的,但是我得到这个错误:

"Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Users/SredXNY/Google%20Drive/Tesis/Ejemplos%20de%20XMI/argo.xmi; lineNumber: 12; columnNumber: 167; El tipo de elemento "UML:UseCase" debe ir seguido de una de estas especificaciones de atributo: ">" o "/>"."

在英语中类似于"the type of element "UML:UseCase" must be followed for one of this attribute especifications: ">" or "/>"

文件有什么问题?我找不到问题

【问题讨论】:

    标签: java parsing xml-parsing xmi argouml


    【解决方案1】:

    第 12 行当前为:

    ... isLeaf = 'false'isAbstract ...
    

    只需添加一个额外的空间即可使其工作:

    ... isLeaf = 'false' isAbstract ...
    

    【讨论】:

      猜你喜欢
      • 2018-07-08
      • 2018-02-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-02
      • 2016-01-09
      相关资源
      最近更新 更多