Menu

Recursion in XSD schema definitions

FAQ
drrwebber
2010-05-04
2013-10-22
  • drrwebber

    drrwebber - 2010-05-04

    CAM has set of tools for handling recursion. Direct recursion is automatically
    detected and trimmed. For indirect recursion - label the XSD recursive node
    with manual annotation with word recursive. This will trim structure below
    that item.

    In the blueprint expander it now automatically detects structure recursion in
    dictionaries and outputs just the non-recursive branches of structure.

     
  • Real user 404

    Real user 404 - 2013-10-22

    Would it be possible to detail a little bit the "manual annotation" process?
    What kind of annotation : documentation or appinfo? What happens if another annotation element already exists for the same element?
    Could you provide an exemple please?

    Thank you in advance!

     
  • drrwebber

    drrwebber - 2013-10-22

    You just need a simple annotation. You can have existing annotation - and then just add this as well - so you have two (or more) annotations.

    <xs:annotation>
      <xs:documentation>recursive</xs:documentation>
    </xs:annotation>
    
     

Log in to post a comment.