[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Declaring internal entities in an xsl-file
> The MS parser does all kinds of what I think are strange things. I can agree on that... > But yes, in this case I'd go ahead and shut off validation. Per > the thread > on XSL-List earlier this week (I know, the archive is down), > validation and > XSLT processing do not generally play well together, even with other > (non-MS) parsers. That's because the XSLT elements and variables are in a > different vocabulary than the result tree's (XHTML's, in your > case), and it > can be quite tricky to "merge" them into one vocab, with one DTD. I havent played around much with namespaces yet, but say that you have two namespaces in a documment, then to validate the document, do you have to merge the two dtds into one, or is there a simpler/better way? > I don't think it's necessarily "bad practice" to create documents that > haven't been validated, especially in the case of XSLT where it can > actually be bad practice (as you're finding) to *force* > validation. If your > source document is valid, that's the important thing -- let the > well-formed > XSLT be checked for XSLT syntax errors by whatever XSLT processor you're > using, of course, but otherwise don't think about validation in a > core-XML > sense. (Just my opinion, others undoubtedly feel differently.) Thanks for the info, I'll follow your advice. Mattias XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|