[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Why does Chrome's XSL processor validate my XML fi
On Sun, 2021-02-21 at 02:00 +0000, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx wrote: > I would have thought that > switching from a DTD to an XSD would not have any effect on the > performance of the XSL processor because the processor would ignore > the > associated DTD or XSD, respectively.B It can't ignore the DTD because it might define entities. Are you producing XHTML with a DOCTYPE? The W3C servers throttle the spead at which they serve the HTML DTDs, because of high demand (at times the load dwarfs e.g. having multiple stories on the front page of slashdot). > is there a way -- a line of > code > that I could add to the XSL stylesheet -- that would make it stop > validating the files and hence process them faster? Without seeing teh stylesheets or the input or the output it's impossible to say. > > 2) I could not test the issue with another web browser because Chrome > is > the only browser that I can get to execute the stylesheet at all. All > other browsers that I have tried refuse to execute the stylesheet on > my > local XML files, supposedly for security reasons. Make sure you serve the files via a local Web server. Most Linux systems include one, so tryputting he files in ~/public_html/ and going to http://127.0.0.1/~wolfhart/ or whaever. Liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
|
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
|