考虑以下XML
<Register name="Error">
<Bits name="count">
<lsb>0</lsb>
<msb>3</msb>
</Bits>
</Register>
<Register name="Date">
<Bits name="minutes">
<lsb>0</lsb>
<msb>1</msb>
</Bits>
<Bits name="seconds">
<lsb>2</lsb>
<msb>3</msb>
</Bits>
</Register>
<parameter name="errors_count">
<register>
<!-- /Register@Error/Bits@count exists OK -->
<name>Error</name>
<bits>count</name>
<register>
<parameter>
<parameter name="seconds">
<register>
<!-- /Register@Date/Bits@count doesn't exist INVALID -->
<name>Date</name>
<bits>count</name>
<register>
<parameter>
如何确保给定的寄存器名称和位在XSD中与Register @ name - Bits @ name对具有相同的“Register”标记?