RE: Document is invalid: no grammar found.

2004-02-11 Thread Hoebel, John
Thanks! -Original Message- From: Neil Delima [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 8:54 AM To: [EMAIL PROTECTED] Subject: Re: Document is invalid: no grammar found. Try setting the following features to true and see if it helps. http://apache.org/xml

RE: Document is invalid: no grammar found.

2004-02-11 Thread Hoebel, John
Thanks so much! -Original Message- From: Michael Glavassevich [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 8:54 AM To: [EMAIL PROTECTED] Cc: Hoebel, John Subject: Re: Document is invalid: no grammar found. Hello John, You need to turn on schema validation [1] as well

Re: Document is invalid: no grammar found.

2004-02-11 Thread Neil Delima
Try setting the following features to true and see if it helps. http://apache.org/xml/features/validation/schema http://apache.org/xml/features/validation/schema-full-checking

Re: Document is invalid: no grammar found.

2004-02-11 Thread Michael Glavassevich
Hello John, You need to turn on schema validation [1] as well otherwise the parser will try to validate against a DTD. Try adding this to your code: parser.setFeature("http://apache.org/xml/features/validation/schema";, true); Hope that helps. [1] http://xml.apache.org/xerces2-j/features.html#

RE: Document is invalid: no grammar found - SOLVED

2003-04-25 Thread Andy Taylor
ED] >To: <[EMAIL PROTECTED]> >Subject: RE: Document is invalid: no grammar found >Date: Thu, 24 Apr 2003 16:04:29 -0400 > >You can try making an entity resolver. At least with this you can see >exactly where it is looking and force it if you have too.. > >Doug

RE: Document is invalid: no grammar found

2003-04-24 Thread Doug Helton
gt; >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: RE: Document is invalid: no grammar found >Date: Thu, 24 Apr 2003 09:42:33 +0530 > >Hi Andy, > >As the exception says - no grammar is found for the instance. With so little >information

RE: Document is invalid: no grammar found

2003-04-24 Thread Andy Taylor
a test schema validation prog as a standalone app to rule out this difference.   Any more advice would be greatly appreciated...   Andy >From: "Rahul Srivastava" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: RE: Document is invalid

RE: Document is invalid: no grammar found

2003-04-24 Thread Rahul Srivastava
Hi Andy,   As the exception says - no grammar is found for the instance. With so little information available, my guess is, the URI used, is being resolved to some other location, than where the Schema is present,  while the Server is running. As the Server has its own document root, you mi