Skip to content

Implement SAX mode profile reuse - #78

Merged
ronaldtse merged 3 commits into
mainfrom
pr/77
Jan 27, 2026
Merged

Implement SAX mode profile reuse#78
ronaldtse merged 3 commits into
mainfrom
pr/77

Conversation

@ronaldtse

@ronaldtse ronaldtse commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

From #77

Previously, a Profile instance allows SAX mode validation only once, because the SAX mode will populate the Requirement instances inside the Profile (DOM mode does not have this issue).

As indicated in #77 , the Profile instance can be reused for multiple validations, so now we keep track of IDs and styles encountered in SAX using separate per-requirement validation states (each requirement class can keep track of its own deferred validation state to be validated after SAX is completed).

Fixes #77

Fixes #75

@ronaldtse
ronaldtse merged commit 148c460 into main Jan 27, 2026
8 checks passed
@ronaldtse
ronaldtse deleted the pr/77 branch January 27, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URGENT: SVG conform testing against svg_1_2_rfc now fails to detect errors

2 participants