0315invalid_NoCommonName.xml 547 Bytes
Newer Older
Dr. Martin Goik's avatar
Dr. Martin Goik committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?xml version="1.0" encoding="UTF-8"?>

<company 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../Schema/company.xsd">
    
    <departments>
        <department short="a">
            <name>A</name>
        </department>
    </departments>
    
    <employees>
        <employee ssn="213-55-3213" department="a"/> <!--Error: missing <commonName> -->
    </employees>
    
</company>

<?xmlTest
    points = "1"
    expectedToBeValid = "false" 
    preconditionValid = "0300valid_minEmployee.xml" ?>