RE: newbie question: schema validation in Xerces-J 1.4.1

2001-09-07 Thread Menarek John-NJM010
You are such rebel -Original Message- From: David Lindquist [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2001 5:02 PM To: [EMAIL PROTECTED] Subject: newbie question: schema validation in Xerces-J 1.4.1 Hello, I receive the following error message when I try to validate an XML

RE: newbie question: schema validation in Xerces-J 1.4.1

2001-09-07 Thread David Lindquist
Thank you for your help. I removed the document type declaration and referenced the schema in the root node as you suggested. I now receive a new error: Element type "Method" must be declared. "Method" is my root element. I'm sure I am making some kind of rookie mistake. Instead of ask

Re: build a Document that's valid for a DTD

2001-09-07 Thread Zhaohua Meng
A dtd parser can do this job. Here is the open sourced dtd parser we used. It works great. http://www.wutka.com/dtdparser.html Zhaohua Meng Hotlens.com Inc. http://www.hotlens.com 350 Fifth AVE Suite 3113 New York, NY 10118 Phone: 212-465-1700 Fax:   212-465-1710 email: [EMAIL PROTECTED] -

Re: newbie question: schema validation in Xerces-J 1.4.1

2001-09-07 Thread Andreas Thönnessen
David Lindquist schrieb: : > I am using SAX 2.0 and Xerces-J 1.4.1. I have verified that the schema is > well-formed. The parsing worked fine when I referenced a DTD. Why can I not > simply change the document type declaration to reference the schema file? Or > does Xerces-J 1.4.1 not support sche

syntax checking XPath: What's the best way?

2001-09-07 Thread ASTI Legaspi, Calen Martin D.
Hi, all! What's the best way to syntax-check XPath? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]