mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
Address Qodo review on #1113: - Escape entity text for Turtle, RDF/XML and N-Triples so names containing quotes, XML markup, backslashes or control chars cannot break out of the literal or inject RDF/XML (High/Security). - Replace colon-only id split with URI-aware local-name extraction so an id like https://example.org/acme yields 'acme', not '//example.org/acme' (Medium/Correctness). - Add regression tests: escaping (quotes/XML/backslash/CR/LF), parseability via rdflib, and exact id local-name assertions.