I have an application where i use xml files with a bL2665 , it work fine
I need use a BL4S200 so , after problem with the memory , resolved in part , i have a problem with the data in a xml file.
My statements in the main program are :
// This value is required to enable FAT blocking mode for ZServer.lib
#define FAT_BLOCK
// Necessary for zserver.
#define FAT_USE_FORWARDSLASH
Import file
#ximport "..\web\user\xml\alarme.xml" alarme_xml
SSPEC_MIMETABLE_START
SSPEC_MIME_FUNC(".html", "text/html", shtml_handler),
SSPEC_MIME_FUNC(".xml", "text/xml", zhtml_handler),
SSPEC_RESOURCETABLE_START
SSPEC_RESOURCE_XMEMFILE("/user/xml/alarme.xml", alarme_xml)
#web AL_valide_z[@] groups=all(rw)
In the javascript file i have:
function display(){
$("#dialogLoading").dialog("open");
$.ajax({
type: "GET",
url: "xml/alarme.xml",
dataType: "xml",
In the xml file i have:
<zones>
<zone val="<?z print($AL_valide_z[1]) ?>">
<nom val="<?z print ($DOM_des[1].s) ?>" />
<type val="Temporisée" />
<etat val="<?z print ($AL_etat[1]) ?>" />
</zone>
All the data DOM_des[1].s are correctly display but in some other data there is an error.
I currently have 2 ideas
The space of root data is insufficient.
There are differences between Dynamic c 9.62 and Dynamic c 10.72D.
I still have to check.
thank you