f.martel
21st March 2016, 10:33
Iaorana !

I have a problem with my XML Device :

Device
Name: XML
Type device: rewrite
4gl program: ttstpconv
Argument: XML

File


<display name="tcccur" difo = "%3.3s"/>
<display name="tcdsca" difo = "%.30s"/>
<display name="tcdssh" difo = "%.3s"/>
<display name="tcyesno" difo = "%.5s"/>
<sortgroup id="1" groupvalue="ATS">
<sortgroup id="2" groupvalue="0">
<emptyline/>
<emptyline/>
<row rc="1" layout=".0">!"ŒDate‹!)Œ:‹!+Œ21/03/16‹!3Œ [‹!5Œ08:49‹!:Œ]‹!KŒDEVISES‹"5ŒPage‹"?Œ:‹"AŒ 1‹</row>
<row rc="1" layout=".0">!"TST.10/11 SIEGES ROSET expl. "5Société"?:"B400</row>
<emptyline/>
<row rc="1" layout=".0">!"──────┬────────────────────────────────┬───────────────┬────────────────────────┬──────────────────</row>
<row rc="1" layout=".0">!"Dev!(│!*Description!I│!KSymbole!Y│![Méthode d'arrondi"2│"4Devise UME</row>
....


Intallation
B4c4 sp 7
Porting set :6.1c06.01
Solution 110334 et 110323 OK

Any ideas ?

Thanks

françois

mark_h
21st March 2016, 20:18
Interesting - on our 4c4 system (where SP is somewhere in the 30's) I get an error saying conversion to XML not yet support. Is that what the solution you mention is for?

f.martel
22nd March 2016, 09:45
Iaorana Mark_h,

I don't know if this solution solved your problem.

For me, i search why my file isn't " standard " and, actually i d'ont have solution

günther
22nd March 2016, 09:52
Also interesting. On my system I get an error tttstprep0002 - "Corrupt XML report output; please recompile report ... in language ...".

Btw. we have some sessions that generate XML ouput on their own, and they use <Data><![CDATA[ ... ]]></Data> instead of <Data>...</Data>.

Regards
Günther

f.martel
22nd March 2016, 14:48
Precision:

My file is invalid XML.

f.martel
23rd March 2016, 11:54
iorana !

And the winner it's Me !

After recompil the XML file is valid.
portingset: 6.1c07.17
Solution 110334 and 110323

But Infor KB717753 preconized other number solution ...

Fra,çois

mark_h
23rd March 2016, 14:25
Glad to hear it and thanks for posting the solution.