Edit

kc3-lang/libxml2/test/schemas/bug306806_0.xml

Branch :

  • Show log

    Commit

  • Author : Kasimier T. Buchcik
    Date : 2005-06-15 09:11:00
    Hash : 8cd0903f
    Message : Added schema tests submitted by Tom Browder (bug #306806). * test/schemas/bug306806_1.xsd test/schemas/bug306806_0.xml: Added schema tests submitted by Tom Browder (bug #306806).

  • test/schemas/bug306806_0.xml
  • <?xml version = '1.0'?>
    <targetGeometry
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xsi:noNamespaceSchemaLocation='bug306806_1.xsd'>
      <!-- type 1 cylinder (original) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <length dimension='L' Length='inch'>    30.250 </length>
          <cyl-transform>
            <translation dimension='L' Length='inch'>   -13.125     0.000     0.000</translation>
            <rotation dimension='L' Length='degree'>    -0.000    90.000     0.000</rotation>
          </cyl-transform>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
    <geometryGroup name='g0'>
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
    <geometryGroup name='g1'>
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    </geometryGroup>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    </geometryGroup>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
      <!-- type 2 cylinder (new, version2) -->
      <component name="1502">
        <description>/all/turbine/r.turbshaft</description>
        <cylinder name="s.turbshaft">
          <radius dimension='L' Length='inch'>     1.375 </radius>
          <base1 dimension='L' Length='inch'>  0 0 0 </base1>
          <base2 dimension='L' Length='inch'>  1.1 1.1 1.1 </base2>
          <description>/all/turbine/r.turbshaft/s.turbshaft</description>
        </cylinder>
      </component>
    
    </targetGeometry>