Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML validation error looks bogus

Status
Not open for further replies.

Amitshah24

Programmer
Sep 22, 2016
1
US
I just Install XML editor and when I run for validation it gives me the error "Error at line 1, column 9: no declaration found for element 'qicore'. Previously my coworker who recently left ran the same validation code but never got any error. And this program is working fine so why the error showing up?

<qicore>
<qic_case>
<case_id>4000087194</case_id>
<admission_date>07/05/2016</admission_date>
<admission_type>1</admission_type>
<admission_source>2</admission_source>
<discharge_date>07/09/2016</discharge_date>
<discharge_status>01</discharge_status>
<arrival_date></arrival_date>
<arrival_time></arrival_time>
<partial_case>0</partial_case>
<discharge_time>18:02</discharge_time>
<national_provider>1790700904</national_provider>
<disch_disposition>1</disch_disposition>
<medicare_provider_number>210029</medicare_provider_number>
<qic_patient>
<facility_patient_id>BV01159323</facility_patient_id>
<first_name>ALICE</first_name>
<last_name>CARMACK</last_name>
<sex>F</sex>
<birthdate>02/08/1944</birthdate>
<postal_code>21219</postal_code>
<hispanic_ethnicity>1</hispanic_ethnicity>
<race>1</race>
<patient_ssn></patient_ssn>
</qic_patient>
<qic_assessment>
<ed_patient>1</ed_patient>
<admit_decision_date></admit_decision_date>
<admit_decision_time></admit_decision_time>
<ed_departure_date></ed_departure_date>
<ed_departure_time></ed_departure_time>
<observation_services></observation_services>
<newborn_weight></newborn_weight>
</qic_assessment>
</qic_case>
</qicore>
 
A validation error typically means that the XML document is being validated against either a DTD or XML Schema. These are the two mechanisms for describing an XML document (XML Schema being the more modern way).

Note that this is not a syntax error, so we would have to also see the Schema for this document in order to determine what is causing the validation error. Given the exact error message, it may also be an indirect way of telling you that no schema is specified.

Tom Morrison
Hill Country Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top