xml data lost

  •  07-16-2007, 3:52 AM

    xml data lost

    Hi, while browsing the gallery, the xml file is suddently emptied. I have one "user" galley where all upload/batch functions are diabled and on "admin" gallery where upload functions are enabled. The xml file get corrupted while browsing images using the "user" version. To restore my images, I click on the "batch build" button.
    It is however annoying to discover that the galley is empty all the time.
     
    Here is the contents of the "empty" xml:
    <?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:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" 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> 
View Complete Thread