Hi
        I'm not able to get my java program work for schemas. I've attached my
source code, xml file & schema file herewith. I'm using apache's xerces
1.4.1. It works fine for DTD, not for schemas, whatever error I make in the
xml so as to give a schema validation error. Could some one pleases help me
out ?

Thanks
Singaram

Attachment: personal.xsd
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
	   xsi:noNamespaceSchemaLocation="personal.xsd">

<!--
  <person id="one.worker">
    <name><family>Worker</family> <given>One</given></name>
    <email>[EMAIL PROTECTED]</email>
    <link manager="Big.Boss"/>
  </person>

  <person id="two.worker">
    <name><family>Worker</family> <given>Two</given></name>
    <email>[EMAIL PROTECTED]</email>
    <link manager="Big.Boss"/>
    <link manager="Big.Boss"/>
  </person>

  <person id="three.worker">
    <name><family>Worker</family> <given>Three</given></name>
    <email>[EMAIL PROTECTED]</email>
    <link manager="Big.Boss"/>
  </person>

  <person id="four.worker">
    <name><family>Worker</family> <given>Four</given></name>
    <email>[EMAIL PROTECTED]</email>
    <link manager="Big.Boss"/>
  </person>

  <person id="five.worker">
    <name><family>Worker</family> <given>Five</given></name>
    <email>[EMAIL PROTECTED]</email>
    <link manager="Big.Boss"/>
  </person>
-->
</personnel>

Attachment: OsXmlExtractor.java
Description: JavaScript source

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

Reply via email to