Hi,
I found that the Javascript engine in Prince XML 8.0 returns the tag name of HTML nodes when accessed via the tagName attribute in the lexical case as written in the HTML. The Javascript standard (at least as portrayed in w3schools) states that tagName is supposed to convert the tag name to upper case, for HTML.
I was able to code around that behavior using the toUpperCase() function, but it ends up being a portability issue, when rendering an HTML file in a number of browsers I tested works fine (without using the toUpperCase()) and then Prince XML fails to convert it.
Can you please verify what I seem to be observing here, and if so, open a bug ?
Regards,
Andy
I found that the Javascript engine in Prince XML 8.0 returns the tag name of HTML nodes when accessed via the tagName attribute in the lexical case as written in the HTML. The Javascript standard (at least as portrayed in w3schools) states that tagName is supposed to convert the tag name to upper case, for HTML.
I was able to code around that behavior using the toUpperCase() function, but it ends up being a portability issue, when rendering an HTML file in a number of browsers I tested works fine (without using the toUpperCase()) and then Prince XML fails to convert it.
Can you please verify what I seem to be observing here, and if so, open a bug ?
Regards,
Andy