RuleML / issues-ruleml

A repository solely for RuleML issues. No schemas or documents should be committed here.
3 stars 3 forks source link

node and xsi:type attributes on Data element #4

Open greenTara opened 11 years ago

greenTara commented 11 years ago

There is a fundamental incompatibility of the @node annotation attribute and the current RuleML practice of using xsi:type on the Data element. The desired syntax for version 1.0 is demonstrated in exa/Datalog/annotation.ruleml

The Relax NG schema validates this OK, but the XSD schema does not validate with either Saxon EE or Xerces. This needs to be investigated.

greenTara commented 11 years ago

Also see

greenTara commented 9 years ago

This issue is addressed on the RuleML Wiki at http://wiki.ruleml.org/index.php/Data_Elements_with_both_node_and_xsi:type_Attributes

There is a temporary solution through RuleML types allowing both xsi:type and @node attributes on a Data element, implemented in version 1.01 (see https://github.com/RuleML/deliberation-ruleml/pull/60)