<xsd:element name="inet_addr" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The inet_addr entity is the IP address of the specific interface.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="unixinterfaceiteminet_addr" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:interface_item/unix-sc:inet_addr">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the inet_addr entity of an interface_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|