Tom Kaiser <[EMAIL PROTECTED]> writes:

> Well, this is an error, not a warning as before. So Sablotron is right
> to stop the processing. I don't know much about PiXSL - is it
> Sablotron's responsibility to report the error? You can kind of plug
> in an "error reporter" in Sablot so it really depends on how the
> extension does it.

I wrote the extension so I know that it has an error handler. In any
case, I must've been confused when I first ran into the problem (that
time I didn't see an error). Now, however, I do get an error:

: 0 neotron@huitzilopochtli pixsl foo.xsl foo.xml 
ERROR: XSLT Parsing failed with Sablotron error code 195 on
line 1 in file:/home/neotron/foo.xsl:
missing required XSLT attribute

Maybe I used 0.44 b4.

> Tom
> 
> > Tom, I've noticed this when using PiXSL as well. It seems like there
> > is an error reported because the processing simply stops in the above
> > case).
> > : 0 neotron@huitzilopochtli sabcmd foo.xsl foo.xml
> 
> > Error [code:195] [URI:file:/home/neotron/foo.xsl] [line:1]
> > [node:element '<xsl:stylesheet>']
> >   missing required XSLT attribute
> > : 1 neotron@huitzilopochtli sabcmd -v
> > sabcmd 0.50 (December 19, 2000)
> 
> > copyright (C) 2000 Ginger Alliance (www.gingerall.com)
> > [...]
> > So it seems like 0.50 treats it as an error, but reports none and
> 
> > stops the processing. Sounds likely?
> >

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Burke's Postulates:
        Anything is possible if you don't know what you are talking about.
        Don't create a problem for which you do not have the answer.

Reply via email to