In 2.2.1 Formal Values an Element value is defined thus: [16 (Formal)] ElementValue ::= "element" ElementName "nilled"? TypeAnnotation "{" Value "}" "{" NamespaceAnnotations "}" Should the "parent" be a component of the formal value: [16 (Formal)] ElementValue ::= "element" ElementName "nilled"? TypeAnnotation "{" Value "}" "{" NamespaceAnnotations "parent" "{" NodeValue? "}" "}" Then the definition of the axis judgement in 7.2.2.2 could be: dynEnv |- axis parent :: of ElementName ( Value } { parent Value1 } => Value1 avoiding the need for the dm:parent "function". Also child "copying" in constructors is clearer: <E>{<B/>}</E> => value1 where: value1 = element E { element B { } { parent value1 } } This doesn't model node identity, but it may be a helpful formalization of the parent/child relationship. I don't know of such "recursive" value would be a formal problem. -- --Per Bothner per@bothner.com http://per.bothner.com/Received on Sunday, 29 February 2004 19:32:21 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:06 GMT