This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: working with XSLFO: validation.
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] working with XSLFO: validation.
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- Date: Tue, 14 Aug 2001 23:52:28 +0200
- CC: xsl-editors at w3 dot org
- Reply-To: xsl-list at lists dot mulberrytech dot com
I wrote:
>> when working with XSLFO, I need to validate the files , consisting of pure, XSLFO.
>> If it's impossible to validate pure XSLFO documents with a DTD, then the working group should
>> provide other means/technologies that can serve that purpose.
DaveP wrote:
> Why? Do you want to validate the output of your transformation too?
Easy:
Scenario 1.
I transform some XML via XSLT to XSLFO, then I want to convert it to
PDF. During the last step the conversion tool (XEP, FOP) throws myriads
of errors at me. Now I need to know if the input document, which is
nothing than pure XSLFO, is valid; in order to take the appropriate
steps of either altering my XSLT to generate valid XSLFO, or filing bugs
on the converter.
Scenario 2:
I author pure XSLFO (which is inflexible, but flexibility is not always
required). So I would like to load a schema/DTD/anything into my
favourite XML IDE, and start. Without any validation tool it's time
consuming to look up every single detail of the rules for the structure
of FOs. Also, when I author some XML namespace that comes with a DTD, I
get a choice of all valid possibilities at any given point in the
document (drop down selections for attribute values etc)
This is why I need XSLFO validation.
Tobi
--
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml
go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list