Problem editing galley- XML loses ID on resave

  •  12-12-2004, 7:12 PM

    Problem editing galley- XML loses ID on resave

    Whe I edit a gallery-upon removing an image, via the pop up image gallery editor, The xml is resaved and loses the
    schema block of code:

    <xs:schemaid="NewDataSet"xmlns=""xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">

    <xs:elementname="NewDataSet"msdata:IsDataSet="true">

    <xs:complexType>

    <xs:choicemaxOccurs="unbounded">

    <xs:elementname="image">

    <xs:complexType>

    <xs:sequence>

    <xs:elementname="url"type="xs:string"minOccurs="0"/>

    <xs:elementname="id"type="xs:string"minOccurs="0"/>

    <xs:elementname="title"type="xs:string"minOccurs="0"/>

    <xs:elementname="description"type="xs:string"minOccurs="0"/>

    <xs:elementname="date"type="xs:string"minOccurs="0"/>

    <xs:elementname="size"type="xs:string"minOccurs="0"/>

    <xs:elementname="&#x12;idth"type="xs:string"minOccurs="0"/>

    <xs:elementname="height"type="xs:string"minOccurs="0"/>

    <xs:elementname="t_width"type="xs:string"minOccurs="0"/>

    <xs:elementname="t_height"type="xs:string"minOccurs="0"/>

    </xs:sequence>

    </xs:complexType>

    </xs:element>

    </xs:choice>

    </xs:complexType>

    </xs:element>

    </xs:schema>
     
    The new xml contains just the images.  The application fails on the next delete because it is missing:
    <xs:elementname="id"type="xs:string"minOccurs="0"/>
    Error says:  cannot find ID

    I am using version 3.0.

    Please advise.

    Thanks,
    DM
     

View Complete Thread