Hash :
90d68fbb
Author :
Date :
2002-09-26T16:10:21
fixed bug #92518 validation error were not covering namespace * SAX.c valid.c include/libxml/valid.h: fixed bug #92518 validation error were not covering namespace declarations. * result/valid/dia.xml test/valid/dia.xml: the test wasn't valid, it was missing the attribute declaration for the namespace * result/VC/NS3: the fix now report breakages in that test Daniel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
<?xml version="1.0"?>
<!DOCTYPE dia:diagram [
<!ELEMENT dia:diagram (dia:diagramdata, (dia:layer)*) >
<!ATTLIST dia:diagram
xmlns:dia CDATA #FIXED "http://www.lysator.liu.se/~alla/dia/">
<!ELEMENT dia:diagramdata (dia:attribute)* >
<!ELEMENT dia:layer (dia:object | dia:group)*>
<!ATTLIST dia:layer
dia:name CDATA #REQUIRED
dia:visible (true|false) #REQUIRED >
<!ELEMENT dia:object ((dia:attribute)*, dia:connections?)>
<!ATTLIST dia:object
dia:type CDATA #REQUIRED
dia:version NMTOKEN #REQUIRED
dia:id ID #REQUIRED >
<!ELEMENT dia:connections (dia:connection)*>
<!ELEMENT dia:connection EMPTY>
<!ATTLIST dia:connection
dia:handle NMTOKEN #REQUIRED
dia:to IDREF #REQUIRED
dia:connection NMTOKEN #REQUIRED>
<!ELEMENT dia:group (dia:object | dia:group)*>
<!ELEMENT dia:attribute (dia:composite | dia:int | dia:enum | dia:real | dia:boolean |
dia:color | dia:point | dia:rectangle | dia:string | dia:font)*>
<!ATTLIST dia:attribute dia:name CDATA #REQUIRED >
<!ELEMENT dia:composite (dia:attribute)*>
<!ATTLIST dia:composite dia:type CDATA #IMPLIED>
<!ELEMENT dia:int EMPTY>
<!ATTLIST dia:int dia:val NMTOKEN #REQUIRED>
<!ELEMENT dia:enum EMPTY>
<!ATTLIST dia:enum dia:val NMTOKEN #REQUIRED>
<!ELEMENT dia:real EMPTY>
<!ATTLIST dia:real dia:val CDATA #REQUIRED>
<!ELEMENT dia:boolean EMPTY>
<!ATTLIST dia:boolean dia:val (true|false) #REQUIRED>
<!ELEMENT dia:color EMPTY>
<!ATTLIST dia:color dia:val CDATA #REQUIRED>
<!ELEMENT dia:point EMPTY>
<!ATTLIST dia:point dia:val CDATA #REQUIRED>
<!ELEMENT dia:rectangle EMPTY>
<!ATTLIST dia:rectangle dia:val CDATA #REQUIRED>
<!ELEMENT dia:string EMPTY>
<!ATTLIST dia:string dia:val CDATA #IMPLIED>
<!ELEMENT dia:font EMPTY>
<!ATTLIST dia:font dia:name CDATA #REQUIRED>
]>
<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
<dia:diagramdata>
<dia:attribute dia:name="background">
<dia:color dia:val="#ffffff"/>
</dia:attribute>
</dia:diagramdata>
<dia:layer dia:name="Background" dia:visible="true">
<dia:object dia:type="Standard - Line" dia:version="0" dia:id="O0">
<dia:attribute dia:name="obj_pos">
<dia:point dia:val="1.95,6.85"/>
</dia:attribute>
<dia:attribute dia:name="obj_bb">
<dia:rectangle dia:val="1.9,6.8;11,8.55"/>
</dia:attribute>
<dia:attribute dia:name="conn_endpoints">
<dia:point dia:val="1.95,6.85"/>
<dia:point dia:val="10.95,8.5"/>
</dia:attribute>
<dia:attribute dia:name="line_color">
<dia:color dia:val="#000000"/>
</dia:attribute>
<dia:attribute dia:name="line_width">
<dia:real dia:val="0.1"/>
</dia:attribute>
<dia:attribute dia:name="line_style">
<dia:enum dia:val="0"/>
</dia:attribute>
<dia:attribute dia:name="start_arrow">
<dia:enum dia:val="0"/>
</dia:attribute>
<dia:attribute dia:name="end_arrow">
<dia:enum dia:val="0"/>
</dia:attribute>
<dia:connections>
<dia:connection dia:handle="1" dia:to="O2" dia:connection="3"/>
</dia:connections>
</dia:object>
<dia:object dia:type="Standard - Text" dia:version="0" dia:id="O1">
<dia:attribute dia:name="obj_pos">
<dia:point dia:val="4.8,4.75"/>
</dia:attribute>
<dia:attribute dia:name="obj_bb">
<dia:rectangle dia:val="2.579,3.96359;7.021,4.96359"/>
</dia:attribute>
<dia:attribute dia:name="text">
<dia:composite dia:type="text">
<dia:attribute dia:name="string">
<dia:string dia:val="sdfsdfg"/>
</dia:attribute>
<dia:attribute dia:name="font">
<dia:font dia:name="Courier"/>
</dia:attribute>
<dia:attribute dia:name="height">
<dia:real dia:val="1"/>
</dia:attribute>
<dia:attribute dia:name="pos">
<dia:point dia:val="4.8,4.75"/>
</dia:attribute>
<dia:attribute dia:name="color">
<dia:color dia:val="#000000"/>
</dia:attribute>
<dia:attribute dia:name="alignment">
<dia:enum dia:val="1"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
<dia:object dia:type="Standard - Box" dia:version="0" dia:id="O2">
<dia:attribute dia:name="obj_pos">
<dia:point dia:val="10.95,7.5"/>
</dia:attribute>
<dia:attribute dia:name="obj_bb">
<dia:rectangle dia:val="10.9,7.45;13.05,9.55"/>
</dia:attribute>
<dia:attribute dia:name="elem_corner">
<dia:point dia:val="10.95,7.5"/>
</dia:attribute>
<dia:attribute dia:name="elem_width">
<dia:real dia:val="2.05"/>
</dia:attribute>
<dia:attribute dia:name="elem_height">
<dia:real dia:val="2"/>
</dia:attribute>
<dia:attribute dia:name="border_width">
<dia:real dia:val="0.1"/>
</dia:attribute>
<dia:attribute dia:name="border_color">
<dia:color dia:val="#000000"/>
</dia:attribute>
<dia:attribute dia:name="inner_color">
<dia:color dia:val="#ffffff"/>
</dia:attribute>
<dia:attribute dia:name="line_style">
<dia:enum dia:val="0"/>
</dia:attribute>
</dia:object>
</dia:layer>
</dia:diagram>