OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   validate XML

[ Lists Home | Date Index | Thread Index ]
  • From: Huaxin Zhang <hxzhang@cs.ualberta.ca>
  • To: xml-dev@xml.org
  • Date: Mon, 14 Aug 2000 17:38:29 -0600 (MDT)

How can I check if a XML file comforms to a specified DTD?
If I have a xml file using <!DOCTYPE SYSTEM "abc.dtd">
but the actual content doesn't go with abc.dtd, 

using Sun parser: javax.documentFactory.setValidating(true), 
it can't detect that. 
Also, using Aelfred parser, it doesn't check that as well.
Thanks in advance.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS