[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Document is invalid: no grammar found.
  • From: "learning xml" <learning_xml@h...>
  • Date: Tue, 09 Mar 2004 16:27:18 +0200
  • Bcc:

Hi, Everyone:
I complied a XML instance : book xml and a schema book.xsd.

In the begining of book.xml, it is like the following:
<?xml version="1.0" encoding="UTF-8"?>
<book isbn="0836217462"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="file:book.xsd">

when I run parser with xerces, it always gives error message:

Document is invalid: no grammar found.
What is wrong?

Thanks in advance!
Wenpeng

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member