[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

Subject: Re: Why does Chrome's XSL processor validate my XML files when processing them, and how can I make it stop doing that so that it processes them faster?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Feb 2021 02:48:06 -0000
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.