On 8/22/05, Matt Sergeant <[EMAIL PROTECTED]> wrote:
> On 19 Aug 2005, at 07:43, David Holden wrote:
> 
> > I have and XML file with the following header
> >
> > <?xml version="1.0" encoding="US-ASCII"?>
> > <!DOCTYPE wrap SYSTEM "../../../xml/dtds/local/wrap/wrap.dtd">
> > <?xml-stylesheet href="/axkit/it/styles/ch.xsl" type="text/xsl"
> > title="ch"?>
> > <?xml-stylesheet href="/axkit/it/styles/chsec.xsl" type="text/xsl"
> > title="chsec" alternate="yes"?>
> >
> >
> > This url
> >
> > http://localhost/axkit/it/Da/Dach1o2/Dach1o2?
> > style=chsec&secid=divsec1o2o1
> >
> > correctly chooses the chsec.xsl style sheet when used in firefox but
> > when used in IE6 it uses the default style sheet ch.xsl
> >
> > has anyone seen this or know how I might debug what is happening.
> 
> Sounds like AxKit isn't even running for that URL, and the browser is
> doing the transformation. Try enabling debugging with "AxDebugLevel 10"
> and see what's in the error log.
> 
> Matt.
> 
> 

Hi, thanks Matt, this pin pointed the problem.

When I generated the XML to be transformed, e.g.  the file

/axkit/it/Da/Dach1o1/Dach1o1.xml

I also generate (using xsltproc) an HTML version 

/axkit/it/Da/Dach1o1/Dach1o1.html

which I use to test for HTML validity.

So when I addressed this with

http://locahost/axkit/it/Da/Dach1o1/Dach1o1?style=chsec&secid=divsec1o1o1o2

firefox/apache was picking the XML for processing Dach1o1.xml

while

IE6/apache was picking the HTML for for delivery.


It works fine for both if I remove the HTML version but I'm not sure
why one browser/server combination would behave differently for this
though, any idea?

thanks very much

Dave.

-- 
Dr. David Holden.
Please avoid sending me Word or PowerPoint attachments, thanks.
See: <http://www.gnu.org/philosophy/no-word-attachments.html>
Public GPG key available on request.
-------------------------------------------------------------

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

Reply via email to