Strange different gallery.xml content sometimes

Last post 10-10-2007, 2:53 AM by dharrison_ch. 7 replies.
Sort Posts: Previous Next
  •  08-01-2006, 1:30 PM 21448

    Strange different gallery.xml content sometimes

    Hi Adam, Caren

    We are using yours Gallery component. Successfully. Thanks. But...
    Sometimes, I do not know whereupon (sorry for my English), in the file gallery.xml we have:
    1. <xs:schema id="NewDataSet"... before <image> tags. No problems when viewing gallery. But...
    2. Sometime there is no schema and after <NewDataSet> we see <image> tag at once.
    3. And the bad case: sometimes we have loose <id> tags in the <image>. I have needed to reappend them "by hands".
    4. The worst case: we loose all content. I am looking at gallery.xml and seeing xs:schema tag only. There are no images at all.
    I think you can try to find the error in the dataset store function.
    Or else, may be we do something wrong?
    Thanks.
  •  05-21-2007, 9:05 AM 29835 in reply to 21448

    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.
  •  08-02-2007, 5:37 AM 32112 in reply to 29835

    Re: Strange different gallery.xml content sometimes

  •  08-13-2007, 2:25 AM 32405 in reply to 32112

    Re: Strange different gallery.xml content sometimes

    Hi there,
    I have downloaded v1.3 in the last few days and (after quite a bit of effort) got things working reasonably. However, I also see this XML->XSD "translation" issue...it does not seem to be fixed in v1.3.
     
    Can a fix for this be provided. This problem means that our web site cannot be upgraded with this Gallery-style functionality.
     
    Thanks
    David Harrison
  •  08-13-2007, 9:56 AM 32410 in reply to 32405

    Re: Strange different gallery.xml content sometimes

    David,
     
    Is your site online? If so, can you provide the FTP access to your server and send it to me at [email protected]?
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-13-2007, 12:54 PM 32419 in reply to 32410

    Re: Strange different gallery.xml content sometimes

    hi adam,
    the site is on a development m/c presently, not deployed yet. Will only deploy it when all issues are resolved.
    Can you hint as to what might be the problem with the XML-> XSD "translation"?
    thanks
    david
     
  •  08-14-2007, 1:19 PM 32459 in reply to 32419

    Re: Strange different gallery.xml content sometimes

    david,

    I have no clue right now. It should be fixed.
     
    Can you reproduce this issue in the demo project? Can you just create a separate virtual directory on your server and upload the demo project there?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-10-2007, 2:53 AM 34183 in reply to 32459

    Re: Strange different gallery.xml content sometimes

    Hi Adam,
    I need to send you further info in shape of a Word file. How can I do that....cant attach anything to any of youre contact email points.
    pls advis at earliest
     
    regards
    dave harrison
View as RSS news feed in XML