This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch odf-devel
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit c2dd5c9f671af83a581045eb9edd65b79a56145f
Author: Jim Jagielski <[email protected]>
AuthorDate: Wed Oct 28 12:59:43 2026 -0400

    test/odf-validate: ignore the page-layout standard-mode attribute in the 
gate
---
 test/odf-validate/cmp7.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/odf-validate/cmp7.py b/test/odf-validate/cmp7.py
index bc0d16a843..fe5e9d6497 100644
--- a/test/odf-validate/cmp7.py
+++ b/test/odf-validate/cmp7.py
@@ -89,6 +89,8 @@ def normalise(root, cnt, strict, is_old):
         if t in (q("office", "document-content"), q("office", 
"document-styles")) and q("office", "version") in a:
             drop_attr(e, q("office", "version")); bump("c7615ea10d 
office:version present")
         elif t in (q("office", "document-content"), q("office", 
"document-styles")): bump("c7615ea10d office:version MISSING")
+        if t == q("style", "page-layout-properties") and q("style", 
"layout-grid-standard-mode") in a:
+            drop_attr(e, q("style", "layout-grid-standard-mode")); 
bump("f18a0e638f layout-grid-standard-mode in page layouts")
         if t == q("meta", "print-date"):
             if not re.match(r'\d{4,}-\d\d-\d\dT', (e.text or "")): 
parent[e].remove(e); bump("150358e458 print-date bogus")
         if t == q("form", "property") and q("office", "value") in a:

Reply via email to