Re: Strange different gallery.xml content sometimes

  •  05-21-2007, 9:05 AM

    Re: Strange different gallery.xml content sometimes

    This is an example (case 4) of broken file after some edition (not image deletion):

    <?xml version="1.0" standalone="yes"?>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
      <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:Locale="en-GB">
        <xs:complexType>
          <xs:choice maxOccurs="unbounded">
            <xs:element name="image">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="url" type="xs:string" minOccurs="0" />
                  <xs:element name="id" msdata:AutoIncrement="true" type="xs:int" />
                  <xs:element name="title" type="xs:string" minOccurs="0" />
                  <xs:element name="description" type="xs:string" minOccurs="0" />
                  <xs:element name="date" type="xs:string" minOccurs="0" />
                  <xs:element name="size" type="xs:string" minOccurs="0" />
                  <xs:element name="width" type="xs:int" minOccurs="0" />
                  <xs:element name="height" type="xs:int" minOccurs="0" />
                  <xs:element name="t_width" type="xs:int" minOccurs="0" />
                  <xs:element name="t_height" type="xs:int" minOccurs="0" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
        <xs:unique name="Constraint1" msdata:PrimaryKey="true">
          <xs:selector xpath=".//image" />
          <xs:field xpath="id" />
        </xs:unique>
      </xs:element>
    </xs:schema>
     
    As you can see, there are no images at all.
View Complete Thread