this is a slightly strange request, but bear with me. in our app, we're letting users enter a subset of x/html (no script, embed, etc.). we're parsing using the dom4j SAXReader with validation turned out. it all works very well, thanks for the great tools. however, we'd now like to relax the rules a bit and let users enter a subset of html.
my thought is that we will try the SAXReader and, if we get a DocumentException when we're parsing, we'll fall back onto using Tidy to generate a DOM document and then use the DOMReader to turn it into a dom4j document. question is, how do i validate using our modified html dtd? i could spit out the dom4j document as sax and then read it back in again, but that seems pretty silly. is there a better way? - donald _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
