Subject: RE: [xsl] Need: XSL FO Schema/ .XSD/ Validator? "defined" or "variable" based on the FO Processor used. |
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2004 07:19:29 -0400
> >Ideas on how you have used existing XSL-FO validation schemas to trap > >and handle errors or anything of that type. > > Why? In my opinion, this is wasted time.
I hope to prove you wrong, Ken. I've now developed a couple of "real" stylesheets using the schema-aware version of Saxon - not an XSL-FO stylesheet, admittedly - and I've been very pleasantly surprised by how much more quickly you find your XSLT coding errors when the schema validation of the result document is built in to the XSLT processing.
That's even with Saxon 8.0 which so far only does run-time validation against the schema, it doesn't yet do any compile-time checking (that's next on my list).
The difference basically is that instead of producing incorrect output, which then fails validation at the next stage in the pipeline (the FO processor in this case), you get an error message pointing to the XSLT instruction that produces the invalid output, which gives you a much faster cycle to correct the error.
A shameless plug for my product, I know, but I really have found that it makes a difference.
Following this enquiry, I will now be looking out for an opportunity to try it out on a stylesheet that produces XSL-FO output.
-- Public training 3 days XSLT & 2 days XSL-FO: Phoenix,AZ 2004-08-23 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|<- Previous||Index||Next ->|
|RE: [xsl] Need: XSL FO Schema/ .XSD, Michael Kay||Thread||Re: [xsl] Need: XSL FO Schema/ .XSD, J.Pietschmann|
|[xsl] create a new node-set and the, Donal Regan||Date||Re: [xsl] create a new node-set and, David Carlisle|