tags:

views:

219

answers:

2

Hello!

I would greatly appreciate if someone could shed light as to why this http://www.binarymark.com/Products/BiorhythmCalculator/bioreport.aspx?day=1&month=1&year=1971 renders perfectly in Opera, IE, Chrome, but fails completely in Firefox 3.1 and 3.5 beta 4? What's wrong with XML/XSLT?

Thanks.

+2  A: 

Very strange indeed. The only thing I see when I run it is 'BinaryMark'.

Seeing as the only place this appears in the output code is in the javascript at the bottom of the template I changed it to the following and it works fine:

<p align="center" class="text">
  This Report was generated by 
  <a href="{Report/@GeneratorURL" target="_blank">
  <xsl:value-of select="Report/@Generator"/></a> on
samjudson
Wow! That was fast! Thanks a lot!!! It works now!
George
A: 

Could it be something to do with the face that the XML is not valid when validated against the XSD file specified in the XML (http://www.binarymark.com/Products/BiorhythmCalculator/bioreport/report.xsd)?

For example, the XSD specifies only "Male" or "Female" are valid for the Gender element, but in the XML it contains "NA".

Perhaps you could remove the reference to the XSD schema from the XML, to see if that helps?

Tim C
Thanks. But as it turns out JS was the problem, and this small mismatch is fine (apparently ignored).
George