|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml validation URGENT URGENT
Harsha,
Your problem isn't with validation as such. As was mentioned earlier in this thread, even if your processor is not validating, a DTD that is named in a DOCTYPE declaration will be consulted, because it may contain declarations relevant to the building of the document model in memory (not its validation), such as entity declarations or attribute value defaults. So you cannot solve the problem of a broken reference just by turning a switch that says "don't validate". Many processors provide this switch -- but even having turned it, your error will persist. Two remedies have been suggested: 1) pre-process your data to fix the broken reference (either change it to point to something available, or remove it altogether). 2) provide your parser with a custom URI resolver that hijacks the link, so when the system asks for the DTD, it gets back nothing. (Then your processor will happily go on its way doing what it does.) Is there a reason why neither of these will work for you? It seems from this end that your question has been asked and answered. What is still unclear? If you ask the question in a Xalan forum (probably a good idea), you'll get a more detailed answer, but it'll likely amount to the same thing. Cheers, Wendell At 01:57 PM 4/3/2003, you wrote: Is there any option to turn off DTD validation during the XSL transformation I am currently using ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== 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
|

Cart








