Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

XML-file validation failure, DAQmx's info.xml

I have recently installed DAQmx and am attempting to incorporate it with Matlab, however Matlab returns the error below at startup.  Someone in another forum post elsewhere said there was a simple fix to "info.xml" to rectify the problem, however did not say what it was.  Only that Mathworks did it for him.  Anyone know what modification I should make to info.xml?

 

 

Matlab Error

**********************************************************************************

??? XML-file failed validation against schema located in:
C:\Program Files\MATLAB\R2008b\sys\namespace\info\v1\info.xsd

XML-file name: c:\program files\matlab\r2008b\toolbox\natinst\daq\info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
    'c:\program files\matlab\r2008b\toolbox\natinst\daq\info.xml',...
    'C:\Program Files\MATLAB\R2008b\sys\namespace\info\v1\info.xsd', true)

Errors:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'area'. One of '{MathWorksID, type}' is expected.

**********************************************************************************

 

 

info.xml

**********************************************************************************

<productinfo>

<matlabrelease>12</matlabrelease>
<name>NI-DAQmx Tools</name>
<area>toolbox</area>
<icon>$toolbox/natinst/daq/ni_eagle.gif</icon>

<list>

<listitem>
<label>NI-DAQmx Tools Help</label>
<callback>NIHelp</callback>
<icon>$toolbox/natinst/daq/ni_help.gif</icon>
</listitem>

<listitem>
<label>Demos</label>
<callback>demo toolbox 'NI Data Acquisition'</callback>
<icon>$toolbox/natinst/daq/ni_demos.gif</icon>
</listitem>

<listitem>
<label>Product Page</label>
<callback>OpenLVProductPage</callback>
<icon>$toolbox/natinst/daq/ni_info.gif</icon>
</listitem>

</list>

</productinfo>
********************************************************************************

Message Edited by kronik85 on 04-19-2009 05:41 PM
0 Kudos
Message 1 of 2
(3,794 Views)
changing <area></area>  to <type></type> seems to have fixed the issue.
Message 2 of 2
(3,789 Views)