0111_invalid_whitespaceInId.xml 498 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?xml version="1.0" encoding="UTF-8"?>

<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../Schema/catalog.xsd" >
    
    <categories>
        <category id="red green"> <!-- Expected error: Attribute must not contain whitespace characters -->
            X category</category>
    </categories>
    <articles/>
      
</catalog>
 
 
<?xmlTest
    points = "1"
    expectedToBeValid = "false"
    preconditionValid = "0110validSingleCategory.xml"
?>