Repository navigation
rdf:XMLLiteral values are Exclusive XML Canonicalization again, via the editor's pure-XSLT cm:c14n - #417
Merged
Conversation
…he editor's pure-XSLT cm:c14n ldh:canonical-content stored Saxon's plain serialize() output since the xml-c14n-sync lib was dropped; it now runs cm:c14n on the wrapper div, which as the c14n apex declares the XHTML namespace once. View source shows exactly that stored literal. xsl/rdfa-editor/ is synced from RDFa-Editor (canonical-xhtml.xsl, edit.xsl), and the stale xml-c14n-sync credit leaves the README. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since the xml-c14n-sync lib was dropped (e5ba843),
ldh:canonical-contentstored Saxon's plainserialize()output (<br/>, attributes in document order), not canonical XML.ldh:canonical-content(client/form.xsl) now runscm:c14non the wrapperdiv. As the c14n apex it declares the XHTML namespace once and the children inherit it.ldh:canonical-content(rdfae:active-root())).xsl/rdfa-editor/is synced from Exclusive XML Canonicalization in pure XSLT (cm:c14n) replaces the xml-c14n-sync JS lib RDFa-Editor#34 (canonical-xhtml.xsl,edit.xsl), which addscm:c14nand its byte-exact tests against libxml2.Depends on AtomGraph/RDFa-Editor#34.
Notes
serialize()form get rewritten into canonical form the next time each one is edited and saved. There's no bulk migration.make sefbuilds andclient.xslcompiles. Not yet exercised against a running instance or LDH's HTTP tests.🤖 Generated with Claude Code