Stephen:

If you want to make sure that it's Xerces and not a difference between
Xerces and the Xalan parser that comes with cocoon (The two parsers use
different extensions and some of those may conflict with cocoon), ran Saxon
with Xerces as the parser using a command like this:

java com.icl.saxon.StyleSheet -x org.apache.xerces.parsers.SAXParser <name
of the file> <name of the stylesheet>

That will report any error with the XML


HTH

Carlos

On 02/16/02 22:21, "Stephen Clarke" <[EMAIL PROTECTED]>
wrote:

> Hi,
> I've been having fun running xml and xsl through the saxon parser.
> Everything works fine, and recently I've discovered cocoon and so I've been
> using cocoon to serve my xml/xsl dynamically. But just today I discovered
> for the first time an xslt that works fine with saxon in batch, but won't
> parse with Xerces in Cocoon. I think Cocoon uses Xerces, right?
> 
> So I've been thinking, the thing to do is to figure out how to run xerces at
> the command line in order to test my code that way and check error messages.
> 
> Then it occured to me, maybe there is some way I can get my Saxon parser
> *into* cocoon so that the whole thing will be seamless. Now above all, I
> don't want to get into anything time consuming here. I can only handle so
> many levels of detail at once. But how difficult would it be to get Saxon
> into cocoon, or would it be better to run Xerces from the command line.
> 
> Or am I just barking up the wrong tree altogether and does this email
> display errant confusion from which I need to be rescued before there is to
> be any hope of progress?
> 
> {:-(
> 
> --
> Stephen Clarke
> 
> PS. I'm on Win2k.
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               [EMAIL PROTECTED]
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

"Come to think of it, there already are a million monkeys at a
million typewriters, and usenet is _NOTHING_ like Shakespeare." -
Blair Houghton.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to