LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Assert from cvixml.c

After loading an xml document, I try to save the document with the following function call:
CVIXMLSaveDocument(ControlXMLFile,1 /* Format the document */, NULL);
I then get a pop-up that reads:
"Assertion failed c!=TAG_OPEN, file "cvixml.c" line 2386.
 
I was able to read through the xml file prior to saving it.
I did not make any modification to the xml between the CVIXMLLoadDocument( SettingsFileName,&ControlXMLFile ) and the save.
I had originally made changes to the xml, but removed them in an attempt to find the root cause of the assertion.
 
0 Kudos
Message 1 of 2
(3,069 Views)
Hi klotz,

Do you get this message when you do not format the document?  Saving XML documents with the format option may cause problems with certain kinds of XML layout and in certain XML applications. National Instruments recommends that you save the XML document without formatting, unless you are sure that formatting causes no problems in your applications.  Try the attached .xml file and tell me if you get the same error.

Have a great day,

Ecleamus Ricks, Jr.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(3,048 Views)