INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

XML validation error looks bogus

XML validation error looks bogus

(OP)
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>

RE: XML validation error looks bogus

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close