Hi Mark, Your document is well formed, but isn't valid.
<!DOCTYPE server> just means that a valid root element for the document is 'server', but you still need to declare 'server' in your DTD, as well as the rest of your elements and attributes (even if you declare 'server' as <!ELEMENT server ANY>), in order for your document to be valid. Hope that helps. On Fri, 5 Sep 2003, Mark Lassau wrote: > Is the following valid xml? > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE server> > <server> > <classpath codebase="lib" archives="*"/> > </server> > > Xerces DOMParser will not read past the <server> tag. > (tried v2.5.0 and v2.3.0) > (Am I missing some setting?) > > I'm not sure exactly what that type of doctype declaration means and > couldn't find an explanation in my search of web resources. > I figure it must mean either: > a) the only tag allowed here is the root element - <server> > (ie the file is not valid) > b) the only restriction here is the root element must be <server> > (ie the file is valid) -------------------- Michael Glavassevich [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
