I am new xerces api and using to XercesDOMParser to parse my xml with my
schema...i think it works well...

When validating aganist Boolean...

 PARSOING
Error at file "prodInfo", line 32, column 24
   Message: buffer not initialized
Error at file "prodInfo", line 36, column 26
   Message: buffer not initialized
Error at file "prodInfo", line 37, column 24
   Message: buffer not initialized
Error at file "prodInfo", line 39, column 19
   Message: value '' not in enumeration
Error at file "prodInfo", line 40, column 28
   Message: value '' is invalid boolean
Error at file "prodInfo", line 49, column 24
   Message: buffer not initialized


<xs:element name="Tracking" type="xs:boolean" minOccurs="0"/>

<xs:element name="CreateTime" type="xs:dateTime" minOccurs="0"/>

 How do i create these nodes or set values to the node so tht parser can
take...

right now I am setting teh value for each tag like this...

DOMText* prodDataVal = xmldoc->createTextNode("false");
currentNode->appendChild(prodDataVal);

Please tell me how to create datatime data node and boolean values to set to
the node...I am building the dom tree...

Thanks,

Reply via email to