OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cam message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: makeRecursive change required


In the CAM 1.1 specification there is a makeRecursive rule that allows a node to include itself recursively.  However, in XML recursion may be required using a node higher up the ancestral tree than the current node - for example the parent of the current node may be required to be included below the current node.  To get round this restriction it is proposed that a minor enhancement is made to the makeRecursive rule that allows for the name (qualified using namespace prefix) of the node to be allowed below the current node is provided as a parameter.  Only nodes that are direct ancestors of the current node may be used.  So for example:
 
root
    child1
        grandchild
            greatgrandchild
    child2
        son
        daughter
 
Under the current makeRecursive if child1 could occur within itself then the rule would be makeRecursive.  Under the new rule this would makeRecursive(child1).
 
Under the new rule son would have a choice of son, child2 or root as possible nodes for recursion.
 
I hope this is clear.
 
martin


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]