Topic: cannot parse gallery xml

Hi,

I used svBuilder to build my gallery and then I went into the gallery xml doc to place all my images (because I couldn't figure out how to do it in svBuilder). I only have 38 images, but when I view the index file I get the error "Cannot parse gallery xml"

I'm not sure where the error is, because I viewed it as I added the first 3 or so and it looked fine. But now, even if I take out all but 1 image, I get that error.

Here is my gallery xml code:

<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery title="weddings"
    useFlickr="false"
    flickrUserName="gurlskout"
    flickrImageSize="MEDIUM"
    flickrShowDescription="false"
    flickrShowTitle="true"
    flickrTitleFontName="Courier New, Courier, monospace"
    flickrTitleFontColor="#FFFF00"
    embedWidth="800"
    embedHeight="550"
    embedColor="FFFFFF"
    thumbPosition="BOTTOM"
    thumbColumns="11"
    thumbRows="1"
    thumbFrameWidth="0"
    thumbHoverFrameWidth="4"
    captionPosition="OVERLAY_BOTTOM"
    imageFrameStyle="SQUARE"
    titlePosition="NONE"
    buttonBarPosition="OVERLAY"
    stageHPadding="10"
    stageVPadding="10"
    imageDropShadow="true"
    frameWidth="0"
    frameColor="FFFFFF"
    maxImageWidth="1200"
    maxImageHeight="800"
    imageScaleMode="SCALE"
    buttonBarPadding="10"
    thumbNavStyle="NUMERIC"
    captionPadding="10"
    captionBackOpacity="0.5"
    stageBorder="10"
    lockBottomStack="true"
    thumbWidth="50"
    thumbHeight="50"
    thumbFrameStyle="ROUNDED"
    buttonBarScale=".50"
    showAutoPlayButton="true"
    captionHeight="100"
    flickrTitleFontSize="14"
    captionFontName="Courier New, Courier, monospace"
    captionFontSize="12"
    titleBackColor="999999"
    titleFontColor="000000"
    thumbPadding="8"

>
  <image imageURL="images/roduner_08.jpg"
    thumbURL="thumbs/roduner_08.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_09.jpg"
    thumbURL="thumbs/roduner_09.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_10.jpg"
    thumbURL="thumbs/roduner_10.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_11.jpg"
    thumbURL="thumbs/roduner_11.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_02.jpg"
    thumbURL="thumbs/roduner_02.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_01.jpg"
    thumbURL="thumbs/roduner_01.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_03.jpg"
    thumbURL="thumbs/roduner_03.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_04.jpg"
    thumbURL="thumbs/roduner_04.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_05.jpg"
    thumbURL="thumbs/roduner_05.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_06.jpg"
    thumbURL="thumbs/roduner_06.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_12.jpg"
    thumbURL="thumbs/roduner_12.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_07.jpg"
    thumbURL="thumbs/roduner_07.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_13.jpg"
    thumbURL="thumbs/roduner_13.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  <image imageURL="images/roduner_14.jpg"
    thumbURL="thumbs/roduner_14.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Deanna &amp; Ted: The Resort at the Mountain, Welches OR.
    </caption>
  </image>
  </image>
  <image imageURL="images/nyc01.jpg"
    thumbURL="thumbs/nyc01.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc02.jpg"
    thumbURL="thumbs/nyc02.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc01.jpg"
    thumbURL="thumbs/nyc01.jpg"
    linkURL=""
    linkTarget="">
  <caption>
  Claire &amp; Francis: Grand Central Station, New York NY.
  </caption>
  <image imageURL="images/nyc04.jpg"
    thumbURL="thumbs/nyc04.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc05.jpg"
    thumbURL="thumbs/nyc05.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc06.jpg"
    thumbURL="thumbs/nyc06.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc03.jpg"
    thumbURL="thumbs/nyc03.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/nyc07.jpg"
    thumbURL="thumbs/nyc07.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Claire &amp; Francis: Grand Central Station, New York NY.
    </caption>
  </image>
  <image imageURL="images/lembach_01.jpg"
    thumbURL="thumbs/lembach_01.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_10.jpg"
    thumbURL="thumbs/lembach_10.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_02.jpg"
    thumbURL="thumbs/lembach_02.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_03.jpg"
    thumbURL="thumbs/lembach_03.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_04.jpg"
    thumbURL="thumbs/lembach_04.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_07.jpg"
    thumbURL="thumbs/lembach_07.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_06.jpg"
    thumbURL="thumbs/lembach_06.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_05.jpg"
    thumbURL="thumbs/lembach_05.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_08.jpg"
    thumbURL="thumbs/lembach_08.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_09.jpg"
    thumbURL="thumbs/lembach_09.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_11.jpg"
    thumbURL="thumbs/lembach_11.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
  <image imageURL="images/lembach_12.jpg"
    thumbURL="thumbs/lembach_12.jpg"
    linkURL=""
    linkTarget="">
    <caption>
    Jennifer &amp; Jon: Krugar Farms, Portland OR.
    </caption>
  </image>
</simpleviewergallery>


You can view it here:  http://www.gurlskout.com/images/weddings/index.html

Thanks for any help!

-Sung

Re: cannot parse gallery xml

update:

So I went through and individually added each image again from a clean gallery file and found the area that was giving me the problem. The New York images had some problem. It looked the same to me, but when I copied the code from a different image and plugged in the image numbers it worked.

I did see the double </image> tag, but when I removed one it still didn't work.

So anyway, now it's working.

Sorry if I wasted anyone's time!

-Sung

Last edited by gurlskout (2010-01-25 00:52:52)