diff options
| author | Shane Farmer <safarmer@google.com> | 2017-05-12 16:22:36 -0700 |
|---|---|---|
| committer | Shane Farmer <safarmer@google.com> | 2017-05-31 16:18:31 -0700 |
| commit | 74cdea34cd6dce8bf9b4adaa2cd7cb02330120d5 (patch) | |
| tree | fb33d7640471c3e5164333e188970630757d6513 /docs/html/sdk/api_diff/6 | |
| parent | 14c991cf97ec2505ff30d8fbb29f241a846feafe (diff) | |
AAPT2: XML configuration file parser.
The XML file is parsed with the aapt::xml::XmlDom parser and actions are
used for the elements we are interested in. This means that there are
cases where a user could add aditional tags/elements to the document
that are technically invalid (acording to the schema) but are ignored by
the parser. This allows us to be more lenient which probably isn't a bad
thing.
Documents have the namespace stripped before processing as the
XmlActionExecutor ignores any elements with a namespace. The namespace
is validated before being removed.
The test cases are all based off the previous example XML file.
Test: Unit tests
Change-Id: I86d7e0dc6347ace3eaa60c1842d59f3cd0d4f749
Diffstat (limited to 'docs/html/sdk/api_diff/6')
0 files changed, 0 insertions, 0 deletions
