Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Validation of XML DTD

Reply
Thread Tools

Validation of XML DTD

 
 
PJ
Guest
Posts: n/a
 
      09-20-2005
Hi,

I am new to this group,I want to know that how can we add and use DTD
support in Expat XML Parser.

priyanshu

 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      09-20-2005

PJ wrote:

> I am new to this group,I want to know that how can we add and use DTD
> support in Expat XML Parser.


As far as I know Expat is not a validating parser, for instance Mozilla
and Opera use Expat as the XML parser and don't do any validation
therefore on XML.
If you want validation you might better look at other parsers, libxml
can do that: <http://www.xmlsoft.org/xmldtd.html>


--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
 
PJ
Guest
Posts: n/a
 
      09-20-2005
Hi, Martin

Thanks for the prompt reply,
I know that Expat XML Parser is not a validating Parser. Actually we
want to use Expat XML parser for Namespace and DTD processing support,
there are some APIs given for DTD also, but I couldn't make it out how
to process external DTD in Expat.

How can I add external DTD into the XML parser.

priyanshu

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML file from one DTD to another DTD test Java 2 07-28-2006 08:48 PM
How to specify DTD to DTD.getDTD for DocumentParser? Ronald Fischer Java 4 03-17-2005 09:37 AM
Removing the dtd name when using print(...) on the dtd generated class Joseph Tilian Java 0 12-21-2004 02:58 PM
Turn off DTD validation with XML parsing? Mark McKay Java 0 09-22-2004 09:37 PM
Including a dtd into another dtd... possible? Asfand Yar Qazi XML 1 09-19-2003 12:10 PM



Advertisments