Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Save to XML: image attribute defined twice

Advocate ,
Jan 18, 2012 Jan 18, 2012

Hello all,

I am saving a structured document to XML and run into an error I cannot explain - or solve: I place graphics inside an anchored frame, which is aligned right with the image centered in the frame. Saving the document to XML generates an error in the log, stating that the 'align' attribute is already used in the image element. The XML shows the following:

<figure Language = "en-US">
<image entity = "image5" impsize = "1.289in 1.478in" impby = "ref"
    sideways = "0" impang = "0.000" xoffset = "2.111in"
    yoffset = "0.000in" position = "below" align = "aright"
    cropped = "1" float = "0" width = "5.512in" height = "1.479in"
    angle = "0.000" nsoffset = "0.000in" align = "left"/>

Does anyone know where the second align attribute (align = "left") comes from ? The Structure Application Developer Guide clearly states that the 'align' attribute is the frame alignment on the page, so the first align attribute is in fact the correct one.

Thanks for any help - I would hate to ship my stuff to my clients when they get ugly errors on saving to XML.

Jang

TOPICS
Structured
812
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 18, 2012 Jan 18, 2012
LATEST

Hi again,

Disregard the previous post. I found the mistake: the image that was inserted in the anchored frame had an invalid attribute 'align' - that is where the second attribute came from in the XML. Oh well, I should learn to check all options before shooting off a post on this forum. Sorry for the interruption.

Thanks anyway

Jang

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines