
Re: htc parsing errors in JSF (Java Server Faces)
Evidently JSF DOES attempt to parse the htc file, probably because it doesn't natively know how to handle a file that's script wrapped in XML with namespaced tags, which is what JSF natively parses. It never killed my application, but my server console was throwing errors every time I loaded a page in IE (every page uses PIE). As I also said, at first, my server didn't know what to do with an htc file, because the mime-type wasn't defined, and with JSF apps, you can do this at the configuration level within the app or on the server itself. The parsing errors cropped up after that configuration was in place.
As a follow-up to my first post, though, two questions:
Within the htc file, is there a reason NOT to:
1) wrap the outer PUBLIC tags in a set of html tags with namespacing -
Code:
<HTML xmlns:PUBLIC="urn:HTMLComponent">
2) enclose the script in CDATA tags?
I honestly don't know the answer to these questions, but the dual work-around did seem to solve parsing errors in my application.