XSLT works in IE, not in Chrome or Firefox

后端 未结 2 1291
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-07 03:48

Given a normal nhibernate config file:




        
相关标签:
2条回答
  • 2020-12-07 03:58

    Your webserver should be returning the correct mime-type for the xsl sheet for this to work.

    Mozilla requires text/xml or application/xml, as specified in the XSL FAQ.

    It would appear that chrome would be best served with application/xml too.

    As is the case many times, IE is not as fussy as other browsers and is happy with text/xsl.

    0 讨论(0)
  • 2020-12-07 04:14

    It works great for me in opera 10.10, chromium 4.0, firefox 3.6 and ie8. I get this output:

    8 properties
    Property    Value
    connection.provider NHibernate.Connection.DriverConnectionProvider
    dialect NHibernate.Dialect.Oracle10gDialect
    connection.driver_class NHibernate.Driver.OracleDataClientDriver
    connection.connection_string    Data Source=MyDB;User ID=MyUser;Connection         Lifetime=0;Enlist=false;Pooling=true;Max Pool Size=100;Min Pool Size=0;Incr Pool Size=5;Decr Pool Size=1;Statement Cache Size=100;
    proxyfactory.factory_class  NHibernate.ByteCode.Castle.ProxyFactoryFactory,         NHibernate.ByteCode.Castle
    use_outer_join  true
    query.substitutions true 1, false 0, yes 'Y', no 'N'
    show_sql    true
    
    0 讨论(0)
提交回复
热议问题