【发布时间】:2011-03-31 11:20:36
【问题描述】:
我尝试将SVG XML Schema 导入EMF,以获取ecore 中的SVG 元模型。但是,由于架构无效,导入失败:确实,svg.xsd 引用了XMLSchema.dtd,它本身引用了不存在的datatypes.dtd!
因此,我尝试从 svg 网站(svg.xsd、XMLSchema.dtd、xlink.xsd、xml.xsd)下载必要的文件,并从another location 下载缺少的 datatypes.dtd。但是,在验证架构时,我不断收到很多错误,例如
Error: XSD: An attribute reference may not have a type
Error: XSD: An <all> content model may not be nested within another content model
等等。
有谁知道我在哪里可以找到有效的 svg XML Schema,或实例在有效 svg 中序列化的 svg ecore 元模型?
【问题讨论】:
标签: xml xsd svg eclipse-emf eclipse-emf-ecore