Re: [xml] Initial identity-constraint implementation for XML Schemata



Hi,

Kasimier Buchcik wrote:
Hi,

An intitial skeleton for identity-constraints (IDC) of the XML Schema module
was commited.

[...]

END <boo> depth 2

  - STOs which matched at the current depth are processed:
    --> the "field" STO creates an IDC key for the value "zappa"
        and stores it in the IDC matcher

Argh, this should be better:

    --> the "field" STO:
        - creates an IDC _key-sequence_
        - creates an IDC key for the value "zappa"
        - puts the key in the key-sequence
        - stores the key-sequence in the IDC matcher

  - the "field" STO is unblocked for further evaluation

END <bar> depth 1

  - STOs which matched at the current depth are processed:
    --> the "selector" STO:
        - removes the IDC key stored in the IDC matcher

And here:

    --> the "selector" STO:
        - removes the IDC _key-sequence_ stored in the IDC matcher
        - the IDC _key-sequence_ is checked for completeness and
          duplicates
        - creates an IDC node-table item with the _key-sequence_
        - puts the IDC node-table item into the IDC table of
          the "element-info" of <foo>

[...]

Kasimier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]