XML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nickle
    Visitor
    • Dec 2008
    • 7

    XML

    We need better handling of XML.

    1. Format files on opening so that lines match up. Some XML is produced without spacing, to compress the side. This makes it impossible to compare.

    2. Clever matching. see http://xmlunit.sourceforge.net/

    For example is

    <test>
    <catA>A</catA>
    <catB>B</catB>
    </test

    the same as

    <test>
    <catB>B</catB>
    <catA>A</catA>
    </test

    The categories have been switched. A line by line reconciliation would show an error. A cleverer XML comparison would say that the XML effect is the same.

    See the link above for more details

    Nick
  • Michael Bulgrien
    Carpal Tunnel
    • Oct 2007
    • 1772

    #2
    Originally posted by Chris Kennedy
    We're working on a structured XML compare for BC, it will probably be released in version 4.
    Quoted from an email I got from Team Scooter on 2010-01-04.
    BC v4.0.7 build 19761
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    Comment

    • Nickle
      Visitor
      • Dec 2008
      • 7

      #3
      Cool.

      Have a look at the XML unit because it points out lots of the issues that arise with comparing XML.

      When is 4 likely to be released?

      Comment

      • Zoë
        Team Scooter
        • Oct 2007
        • 2666

        #4
        For the record, we're more likely to answer questions about possible schedules via email than in the forums so we don't tie our hands if we have to change it later. If Chris or Aaron had answered this it would have gotten the traditional "wishlist" response.
        Zoë P Scooter Software

        Comment

        • Michael Bulgrien
          Carpal Tunnel
          • Oct 2007
          • 1772

          #5
          There is a "probably" in the quote... and I don't expect version 4 to be out for quite some time... so I think it quite safe that this quote won't tie any hands... Nevertheless, my apologies if it was information I should not have passed on.
          BC v4.0.7 build 19761
          ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

          Comment

          • Zoë
            Team Scooter
            • Oct 2007
            • 2666

            #6
            Originally posted by Nickle
            When is 4 likely to be released?
            Not soon. We're still working on major features for 3.x.
            Zoë P Scooter Software

            Comment

            Working...