Weird Repeat Item problem - InfoPath Dev
in

InfoPath Dev

Weird Repeat Item problem

Last post 05-26-2006 03:45 AM by pfazza. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-25-2006 10:07 AM

    • pfazza
    • Not Ranked
    • Joined on 03-16-2006
    • Posts 4

    Weird Repeat Item problem

    I have a Repeating Table nested inside a Repeating Section, with a pretty simple xml structure, with elements grouped and broken up into sections

    For some reason the first element in the first group of my xml gets repeated sporadically under unrelated groups. The weird thing is that this seems to be a corruption type of behaviour; the xsn needs to be replaced and the behaviour then goes away.

    Anybody had anything similar happen? Should I ever expect xsn's or the underlying xml to corrupt?

    pf
  • 05-25-2006 04:02 PM In reply to

    Re: Weird Repeat Item problem

    This is the first I've heard of this type of corruption. What do you mean that the first element is repeating sporadically under unreleated groups. How does that first element show up in the other groups?
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 05-26-2006 03:45 AM In reply to

    • pfazza
    • Not Ranked
    • Joined on 03-16-2006
    • Posts 4

    Re: Weird Repeat Item problem

    Yes, in the example XML fragment below, I would get multiple print outs of [First item, GroupA] even when I filter under GroupB

    ..and then this problem will go away, ie. rebuilding the xsn from exactly the same xml will remove the problem. This is why I thought of mentioning the problem, to see if any poor souls had had experienced a sort of 'hicupping' behaviour in the underlying xml parsing of the data source. Of course, I understand the possibility of a circular reference in the xml etc. but I would expect consistent behaviour in the rendering

    Confusing..




    <Node4 StatusFilter="Open">
    <Node5 Type="GroupA">
    <Item Id="1">
    <Question>First item, GroupA</Question>
    <Answer></Answer>
    </Item>
    Item Id="2">
    <Question>Second item, GroupA</Question>
    <Answer></Answer>
    </Item>
    </Section>
    <Node5 Type="GroupB">
    <Item Id="1">
    <Question>First item, GroupB</Question>
    <Answer></Answer>
    </Item>
    Item Id="2">
    <Question>Second item, GroupB</Question>
    <Answer></Answer>
    </Item>
    </Section>
    <Node4>
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.