XSD 中的 oraxdb 属性是什么?
What are oraxdb attributes in XSD?
在我的项目中 XML 验证失败。下面是该特定元素的 XSD。我尽力理解这一点,但无法取得任何丰硕的成果。
<xs:element name="xxxx"
type="xs:decimal" --Specifies either the name of a built-in data type
oraxdb:propNumber="9698"
oraxdb:global="false"
oraxdb:SQLName="xxxx"
oraxdb:SQLType="NUMBER"
oraxdb:memType="2"
oraxdb:MemInline="true"
oraxdb:SQLInline="true"
oraxdb:JavaInline="true"/>
能否请您告诉我所有这些属性的含义,例如 `oraxdb:propnumber = "9698"?
oraxdb
个属性的含义
假设已正确声明 oraxdb
名称空间前缀,通常在 xs:schema
、
xmlns:oraxdb="http://xmlns.oracle.com/xdb"
额外的属性是特定于 Oracle 的 XML 模式注释,用于将 Java 程序元素自定义为 XML 模式映射。
验证失败的来源
将另一个命名空间的属性添加到 XSD 元素是可以的;你的验证问题一定在别处。
如果你的真实XSD实际上有这一行:
type="xs:decimal" --Specifies either the name of a built-in data type
那将是一个语法错误,因为
--Specifies either the name of a built-in data type
那里不允许。删除它。
除此之外,您还必须展示更多 XSD,可能还有 XML,以便我们进一步评估。
在我的项目中 XML 验证失败。下面是该特定元素的 XSD。我尽力理解这一点,但无法取得任何丰硕的成果。
<xs:element name="xxxx"
type="xs:decimal" --Specifies either the name of a built-in data type
oraxdb:propNumber="9698"
oraxdb:global="false"
oraxdb:SQLName="xxxx"
oraxdb:SQLType="NUMBER"
oraxdb:memType="2"
oraxdb:MemInline="true"
oraxdb:SQLInline="true"
oraxdb:JavaInline="true"/>
能否请您告诉我所有这些属性的含义,例如 `oraxdb:propnumber = "9698"?
oraxdb
个属性的含义
假设已正确声明 oraxdb
名称空间前缀,通常在 xs:schema
、
xmlns:oraxdb="http://xmlns.oracle.com/xdb"
额外的属性是特定于 Oracle 的 XML 模式注释,用于将 Java 程序元素自定义为 XML 模式映射。
验证失败的来源
将另一个命名空间的属性添加到 XSD 元素是可以的;你的验证问题一定在别处。
如果你的真实XSD实际上有这一行:
type="xs:decimal" --Specifies either the name of a built-in data type
那将是一个语法错误,因为
--Specifies either the name of a built-in data type
那里不允许。删除它。
除此之外,您还必须展示更多 XSD,可能还有 XML,以便我们进一步评估。