Timing writer emits p:animScale / p:animClr value children out of ECMA-376 sequence
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Bắt đầu với sdpm/sdpm/engine/timing/writer.py và tests/test_animation_writer.py; so sánh thứ tự các phần tử con chứa giá trị được phát ra cho p:animScale và p:animClr với các chuỗi ECMA-376 được nêu trong issue. Bổ sung kiểm thử để xác thực XML timing được tạo ra theo các chuỗi đó, đồng thời giữ cho reader chấp nhận cả hai thứ tự. Hoàn tất khi writer phát ra theo thứ tự schema và các kiểm thử xác minh điều đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The timing writer appends the value children of p:animScale (and p:animClr) as to, from, by, tavLst (sdpm/sdpm/engine/timing/writer.py, introduced in #595). ECMA-376 declares them as an xsd:sequence: CT_TLAnimateScaleBehavior is cBhvr, by?, from?, to?, and p:animClr has the same order. A generated entrance.curveUp therefore carries cBhvr, to, from, which a strict validator rejects.
PowerPoint's parser accepts the out-of-sequence order, so nothing fails today. Since #595 makes the reader compare those children by element name, a PowerPoint file written in sequence order now imports as semantic JSON and is regenerated out of sequence.
The suite has no schema validation of generated timing XML. tests/test_animation_writer.py states that the writer never emits a schema-invalid node, but it checks element order only at the p:timing insertion point.
Proposed scope:
- Emit the value children in schema order.
- Add a test that validates generated timing XML against the ECMA-376 sequence for the behaviour elements the writer emits.
This changes generated bytes, so the reader should keep accepting both orders.
Raised in the #595 review: https://github.com/aws-samples/sample-spec-driven-presentation-maker/pull/595
- Ngôn ngữ chính
- Python
- Star
- 136
- Fork
- 13
- Merge trung bình
- 7 giờ 43 phút
- Pull request đã merge (30 ngày)
- 180
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/sample-spec-driven-presentation-maker
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Charts: setting `valueAxis` skips theme styling of axis labels and axis linesCó thể đã có người làm @ShotaroKataoka đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
aws-samples/sample-spec-driven-presentation-maker#630 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
aws-samples/sample-spec-driven-presentation-maker#627 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
aws-samples/sample-spec-driven-presentation-maker#622 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Charts: add radar charts (chartType "radar")Có thể đã có người làm @tridev-tej đã nhận 4 ngày trước. Đang mởenhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
aws-samples/sample-spec-driven-presentation-maker#621 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aws-samples/sample-spec-driven-presentation-maker
Issue tương tự
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
googleapis/google-cloud-python#19115 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CRS WKT default to WKT2Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug prov-json
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày