[cxml-devel] validating without parsing?

Cyrus Harmon ch-lisp at bobobeach.com
Wed Feb 29 23:53:02 UTC 2012


Indeed, that does work. It returns nil on success, but I can live with that. Sorry I missed the obvious!

thanks,

Cyrus

On Feb 29, 2012, at 2:21 PM, David Lichteblau wrote:

> Hi,
> 
> Quoting Cyrus Harmon (ch-lisp at bobobeach.com):
>> But is there any way I can validate an already parsed (in-memory) XML
>> (preferably STP) document?
> 
> if
>  (stp:serialize doc (cxml-rng:make-validator ...))
> doesn't work, then it's either a bug, or I'm misremembering. :-)
> 
> Technically, of course, this serializes to SAX and then validates that;
> RNG doesn't know anything about STP specifically.
> 
> d.





More information about the cxml-devel mailing list