It seems something related to the namespace validation.
Try removing namespace an schema references from the xml tag

<NEDSSImport>

and try again.
If it works try then  to configure Digester to correctly setting xsd and 
namespace

Sreenivasa Chadalavada wrote:

>Hey All,
>
>I am trying to load the attached xml using digester.
>
>I am using Weblogic 8.1 and JDK 1.4.2. I am getting thsi error: 
>
>Failed to import abc.xml - Document is invalid: no grammar
>found.;Document root element "NEDSSImport", must match DOCTYPE root
>"null".
>
>Can you please let me know how to get this issue resolved. ?
>
>Thanks So much for the help!
>
>The following is the XML file I am using:
>
><?xml version="1.0" encoding="utf-8"?>
><NEDSSImport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>xsi:noNamespaceSchemaLocation="/Nedss/Properties/CDF_Subform_Import.xsd">
>       <version>1204</version>
>       <comment>Test</comment>
>       <CustomDefinedFields>
>               <CustomDefinedField>
>                       <objectID>FBN152</objectID>
>                       <comment/>
>                       <actionType>ADD</actionType>
>                       <nationalIdentifier/>
>                       <dataType>SUB</dataType>
>                       <codeSetName/>
>                       <displayOrder>10</displayOrder>
>                       <fieldSize/>
>                       <labelText>General Foodborne Disease</labelText>
>                       <validationText/>
>                       <requiredIndicator/>
>                       <pageSetID>107</pageSetID>
>                       <validationJavaScriptText/>
>                       <NNDIndicator>Y</NNDIndicator>
>               </CustomDefinedField>
>       </CustomDefinedFields>
></NEDSSImport>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>
-------------------------------------------------------------------------------------------------------------------
Este correo electr+APM-nico y, en su caso, cualquier fichero anexo al mismo, 
contiene informaci+APM-n de car+AOE-cter confidencial exclusivamente dirigida a 
su destinatario o destinatarios. Queda prohibida su divulgaci+APM-n, copia o 
distribuci+APM-n a terceros sin la previa autorizaci+APM-n escrita de Indra. En 
el caso de haber recibido este correo electr+APM-nico por error, se ruega 
notificar inmediatamente esta circunstancia mediante reenv+AO0-o a la 
direcci+APM-n electr+APM-nica del remitente.

The information in this e-mail and in any attachments is confidential and 
solely for the attention and use of the named addressee(s). You are hereby 
notified that any dissemination, distribution or copy of this communication is 
prohibited without the prior written consent of Indra. If you have received 
this communication in error, please, notify the sender by reply e-mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to