diff options
author | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-11-19 12:45:32 +0900 |
---|---|---|
committer | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-11-19 12:45:32 +0900 |
commit | 8e0e00d21146a84c18f9cf9409e187b4fb0248aa (patch) | |
tree | ef791689dad216ac61091a1d1bd3b928d563aba6 /nsframework/backup_manager/config/backup.rng | |
parent | 18df6e21c6743a137e2760c52ca89d0789e90417 (diff) |
Init basesystem source codes.
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I55aa2f1406ce7f751ae14140b613b53b68995528
Diffstat (limited to 'nsframework/backup_manager/config/backup.rng')
-rwxr-xr-x | nsframework/backup_manager/config/backup.rng | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/nsframework/backup_manager/config/backup.rng b/nsframework/backup_manager/config/backup.rng new file mode 100755 index 0000000..6c9822b --- /dev/null +++ b/nsframework/backup_manager/config/backup.rng @@ -0,0 +1,123 @@ +<element name="backup" xmlns="http://relaxng.org/ns/structure/1.0"> + <zeroOrMore> + <element name="category" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> + <attribute name="name"> + <data type="Name"> + <param name="maxLength">64</param> + </data> + </attribute> + <choice> + <!-- NAND --> + <group> + <attribute name="nand"> + <choice> + <value type="boolean">true</value> + </choice> + </attribute> + <optional> + <attribute name="cacheDram"> + <data type="boolean"/> + </attribute> + </optional> + <optional> + <attribute name="backupDram"> + <data type="boolean"/> + </attribute> + </optional> + <attribute name="sync"> + <data type="boolean"/> + </attribute> + <optional> + <attribute name="backupCycle"> + <data type="positiveInteger"/> + </attribute> + </optional> + <attribute name="encrypt"> + <data type="boolean"/> + </attribute> + </group> + <!-- CacheDRAM --> + <group> + <attribute name="cacheDram"> + <choice> + <value type="boolean">true</value> + </choice> + </attribute> + <optional> + <attribute name="nand"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="backupDram"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="sync"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <attribute name="encrypt"> + <data type="boolean"/> + </attribute> + </group> + <!-- BackupDRAM --> + <group> + <attribute name="backupDram"> + <choice> + <value type="boolean">true</value> + </choice> + </attribute> + <optional> + <attribute name="nand"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="cacheDram"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="sync"> + <choice> + <value type="boolean">false</value> + </choice> + </attribute> + </optional> + <attribute name="encrypt"> + <data type="boolean"/> + </attribute> + </group> + </choice> + <zeroOrMore> + <element name="item"> + <attribute name="name"> + <data type="Name"> + <param name="maxLength">64</param> + </data> + </attribute> + <attribute name="id"> + <data type="positiveInteger"> + <param name="maxInclusive">32767</param> + </data> + </attribute> + <attribute name="size"> + <data type="positiveInteger"/> + </attribute> + </element> + </zeroOrMore> + </element> + </zeroOrMore> +</element> |