Results 1 to 6 of 6

Thread: XML

  1. #1
    Join Date
    Dec 2008
    Posts
    7

    Default 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

  2. #2
    Join Date
    Oct 2007
    Location
    Pennsylvania
    Posts
    1,772

    Default

    Quote 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

  3. #3
    Join Date
    Dec 2008
    Posts
    7

    Default

    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?

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,503

    Default

    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

  5. #5
    Join Date
    Oct 2007
    Location
    Pennsylvania
    Posts
    1,772

    Default

    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

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,503

    Default

    Quote Originally Posted by Nickle View Post
    When is 4 likely to be released?
    Not soon. We're still working on major features for 3.x.
    Zo P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •