The six worked examples of the C14N 1.0 Recommendation's section 3 run as input/expected-output tests. They exposed and fixed: top-level siblings now separated by single line feeds in the canonical form; superfluous empty default-namespace declarations dropped in inclusive mode (xmlns="" renders only when undeclaring a rendered non-empty default); and scalar-level escape loops, so a CR clustered with a following LF still escapes to 
. Escaping split to its own file for the length caps. Closes #132 |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||