Women in Technology

Hear us Roar



Article:
  XML Document Validation with an XML Schema
Subject:   schema check failed
Date:   2005-08-01 09:34:57
From:   Coke
Hi,
I tried both validation methods. But they have the same problem. They can only check the xml format, such as the tag is not matching. But when I change the schema, the validation can not find it. For example: in the catolog.xsd, I change the element "journal" to "journals", and validate the catolog.xml file. It passed.
Can someone help me with this problem?


Thanks in advance!

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • schema check failed
    2005-08-13 14:28:21  Deepak Vohra | [View]

    Tested with journals instead of journal.
    A validation error gets generated.

    XML Document has Error:truecvc-complex-type.2.4.a: Invalid content was found starting with element 'journal'. One of '{journals}' is expected.
    ,