Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lexical-to-value mapping of rdf:HTML literals (#2483)
Use strict mode when parsing `rdf:HTML` literals. This ensures that when [lexical-to-value mapping](https://www.w3.org/TR/rdf11-concepts/#dfn-lexical-to-value-mapping) (i.e. parsing) of a literal with `rdf:HTML` data type occurs, a value will only be assigned if the lexical form is a valid HTML5 fragment. Otherwise, i.e. for invalid fragments, no value will be associated with the literal [[ref](https://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal)] and the literal will be ill-typed. --------- Co-authored-by: WhiteGobo <richardfechner@posteo.net>
- Loading branch information