W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Probs with validating against XML-Schmea with Xerces

From: Uwe Zeise <uwezeise@yahoo.de>
Date: Mon, 25 Jun 2001 17:57:11 -0400 (EDT)
Message-ID: <001901c0fdc1$c1b5b380$6c0e53d9@compaq>
To: <xmlschema-dev@w3.org>
Hi folks,

Ive downloaded the latest Xerces 1.4.1 and wanted to validate an XML-document against an XML-Schema.
My problem is, that Schema ist totally ignored.

The head of my XML-document is:

<a:bonds xmlns:a="http://www.aifb.uni-karlsruhe.de"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="file:///c:bonds.xsd">

and the head of the XML-Schema is:

<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:a="http://www.aifb.uni-karlsruhe.de"
        targetNamespace="http://www.aifb.uni-karlsruhe.de"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">

My Java programm instantiates a DOMParser and the ErrorHandler is also properly implemented.

So what is my mistake ?

Thanks in advance

Best Regards

Uwe





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tuesday, 26 June 2001 03:45:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT