XMLport changes output of Boolean after technical upgrade??

AndreBAndreB Member Posts: 18
Hi all,
Yesterday we've performed a technical upgrade of Navision 4.0 SP3 to Navision 5.0 SP1. Everything went OK. This morning however I got a call that the XMLexport to some program no longer worked.
If I connect to the database with our 4.0 client it works fine again. I found that elements in the XMLport that are filled by Booleans were 0 or 1 in the XML file from the 4.0 client and are now False of True. The program that imports the XML only works with False or True.
I can't find wether this is a setting that can be changed or something, but we would like to have our 0 and 1 back.
Does anybody know how to fix this?
Thanks in advance

Comments

  • rdebathrdebath Member Posts: 383
    I feel your pain, I expect somebody at microsoft read this:
    http://www.w3.org/TR/xmlschema-2/#boolean

    3.2.2.2 Canonical representation

    The canonical representation for boolean is the set of literals {true, false}.

    The best I can give you is "FORMAT(B, 0, 2)" it'll give you 0/1 but only out.

    Otherwise you best bet is to print out the XML specification and start hitting people with it ... that's what it's for after all.
  • ara3nara3n Member Posts: 9,256
    There is a new property if you go to last blank line on xmlport called

    Format/Evaluate
    by default it is set to <C/SIDE Format/Evaluate>

    Change that to XML Format/Evaluate. See if that works.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.