discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

validating against a dtd with GSXMLParser?


From: e.sammer
Subject: validating against a dtd with GSXMLParser?
Date: Sat, 22 Dec 2001 07:13:32 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120

all:

is it possible to validate an xml document against a dtd using GSXMLParser? i noticed the [-doValidityChecking:(BOOL)] method (i think that was it), but no matter what, it doesn't seem to check against the dtd. i'm not doing anything overly complex - just like:


parser = [GSXMLParser parserWithContentsOfFile:aFile];
[parser doValidityChecking:YES];

if ([parser parse] == NO) {
 ...
}

etc...

am i missing something?
thanks in advance.

--
eric.sammer
eric@lifeless.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]