Complete StructuredData parity and parser hardening (#37)
This commit is contained in:
1 parent
6d02db8a9a
commit
d980692933
18 files changed
+438
-7
No files matched your search
@@ -3,4 +3,6 @@
|
||||
These inputs exercise the XML LLSD parser's entity boundary. DTD declarations,
|
||||
external entities, and undeclared named entities must be rejected without file
|
||||
or network access and without entity expansion. The structured-data unit tests
|
||||
load every fixture directly.
|
||||
load every fixture directly. `malformed_nesting.xml` additionally covers
|
||||
crossed container end tags, while `truncated_scalar.xml` guards against parser
|
||||
loops when a scalar reaches end-of-input without a closing tag.
|
||||
@@ -0,0 +1 @@
|
||||
<llsd><map><key>value</key><array><integer>1</map></array></llsd>
|
||||
@@ -0,0 +1 @@
|
||||
<llsd><string>unterminated
|
||||
Reference in new issue
Block a user