xref: /illumos-gate/usr/src/test/os-tests/tests/libtopo/digraph-test-in-badelement.xml (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
1<?xml version="1.0"?>
2<!DOCTYPE topology SYSTEM "/usr/share/lib/xml/dtd/digraph-topology.dtd.1">
3
4<!--
5  Copyright 2020 Joyent, Inc.
6
7-->
8
9<topo-digraph fmri-scheme='hc' nodename='test-nodename' os-version='test-os-version' product-id='test-product-id' timestamp='2019-12-20T01:51:26Z'>
10<vertices>
11<vertex name='node' instance='0x0' fmri='hc:///node=0'>
12
13  <nvpair name='property-groups' type='nvlist-array'>
14    <!-- DTD violation: bad element -->
15    <badelement>
16      <nvpair name='property-group-name' type='string' value='protocol' />
17      <nvpair name='property-values' type='nvlist-array'>
18        <nvlist>
19          <nvpair name='property-name' type='string' value='resource' />
20          <nvpair name='property-type' type='uint32' value='9' />
21          <nvpair name='property-value' type='nvlist'>
22            <nvlist>
23              <nvpair name='scheme' type='string' value='hc' />
24              <nvpair name='version' type='uint8' value='0' />
25              <nvpair name='hc-list' type='nvlist-array'>
26                <nvlist>
27                  <nvpair name='hc-name' type='string' value='node' />
28                  <nvpair name='hc-id' type='string' value='0' />
29                </nvlist>
30              </nvpair>
31            </nvlist>
32          </nvpair> <!-- property-value -->
33        </nvlist>
34      </nvpair> <!-- property-values -->
35    </nvlist>
36
37  </nvpair> <!-- property-groups -->
38
39</vertex>
40
41</vertices>
42</topo-digraph>
43