Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-186

Fixing/Adding regression tests for MSV model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • odfdom-0.8.7
    • odfdom-0.8.8
    • codegen
    • None
    • Operating System: All
      Platform: All
    • 299

    Description

      With Hans-Peter help, I have completely overworked the iterator that is traversing the MSV expression tree/net,i.e. MSVExpressionIterator.

      We are now able to dump the complete expression tree.
      Comparing this tree with the RNG made several issues apparent, e.g. List children where not processed and nodes without namespace returned null instead of the localname, etc.

      Finally as ultimate test, I compared the found and given element/attribute numbers:
      By working via search/replace on this dump and the relaxNG schema, I created a file for each all attributes and elements. Compare the sorted list of attributes& elements give me insights about the amount and errors of ODF nodes in the RNG schema.

      Doing so I found the accurate numbers for ODF 1.1/1.2 attributes and elements.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--codegen-update3.patch
          9 kB
          Svante Schubert
        2. ASF.LICENSE.NOT.GRANTED--codegen-update2.patch
          1 kB
          Svante Schubert
        3. ASF.LICENSE.NOT.GRANTED--codegen-update.zip
          303 kB
          Svante Schubert

        Activity

          People

            svanteschubert@odftoolkit.org Svante Schubert
            svanteschubert@odftoolkit.org Svante Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: