Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
odfdom-0.8.7
-
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.