Internet Explorer, xhtml and JSF

I'm having a problem with an app I'm developing in xhtml using the xml format for my jsp files. I've been using Firefox during development and have had no problems. However, today I loaded the site in IE and got the following error:
Entity names, PI targets, notation names and attribute values declared to be of
types ID, IDREF(S), ENTITY(IES) or NOTATION cannot contain any colons.The error refers to the following element:
<input id="_id4:subcontractorId" type="hidden" name="_id4:subcontractorId" value="2" />From a quick bit of googling, it seems that Microsoft have implemented XML namespaces in the XML parser for IE with no fall-back if the document does not conform to this. The spec for XML namespaces says the following:
The effect of conformance is that in such a document:
* All element types and attribute names contain either zero or one colon.
* No entity names, PI targets, or notation names contain any colons.
Strictly speaking, attribute values declared to be of types ID, IDREF(S), ENTITY(IES), and NOTATION are also Names, and thus should be colon-free.
It seems therefore that jsf is producing invalid xml as far as IE is concerned. Is there any way I can work around this without re-writing all my jsps to produce html?
Example jsp source file:
<?xml version="1.0" ?>
<jsp:root version="2.0"
     xmlns:jsp="http://java.sun.com/JSP/Page"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html">
     <f:view>
          <f:verbatim><![CDATA[<!DOCTYPE html
               PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">]]>
          </f:verbatim>
          <html xmlns="http://www.w3.org/1999/xhtml">
               <head>
                    <link href="styles/subcontractor.css" rel="stylesheet" type="text/css"/>
                    <f:loadBundle basename="uk.co.motives.subcontractors.messages" var="msgs"/>
                    <title><h:outputText value="#{msgs.startTitle}"/></title>
               </head>
               <body>
                    <h2><h:outputText value="#{msgs.startTitle}"/></h2>
                    <h3><h:outputText value="#{msgs.startPrompt}"/></h3>
                    <h:form>
                         <h:commandButton
                              actionListener="#{subcontractorLoad.load}"
                              action="#{subcontractorLoad.getLoadOutcome}"
                              value="#{msgs.startSubcontractorLink}"/>
                         <h:inputHidden id="subcontractorId" value="2" />
                    </h:form>
                    <h:form>
                         <h:commandButton action="admin" value="#{msgs.startAdminLink}"/>
                    </h:form>
               </body>
          </html>
     </f:view>
</jsp:root>Example outputted xhtml document (formatted):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
     <head>
          <link type="text/css" rel="stylesheet" href="styles/subcontractor.css"/>
          <title>Welcome to the Subcontractors Database</title>
     </head>
     <body>
          <h2>Welcome to the Subcontractors Database</h2>
          <h3>Choose a task</h3>
          <form id="_id4" method="post" action="/subcontractors/index.faces"
               enctype="application/x-www-form-urlencoded">
               <input type="submit" name="_id4:_id5" value="A subcontractor" />
               <input id="_id4:subcontractorId" type="hidden" name="_id4:subcontractorId" value="2" />
               <input type="hidden" name="_id4" value="_id4" />
          </form>
          <form id="_id6" method="post" action="/subcontractors/index.faces"
               enctype="application/x-www-form-urlencoded">
               <input type="submit" name="_id6:_id7" value="admin" />
               <input type="hidden" name="_id6" value="_id6" />
          </form>
     </body>
</html>

The JSF team is in the process of making the default HTML renderers generate HTML/XHML compliant markup.
The current EA4 release does not do that.
-roger

Similar Messages

  • Is HP Smart Web Printing compatible with Windows 7 Ultimate 32 bit and Internet Explorer 8 and 9?

    Is HP Smart Web Printing compatible with Windows 7 Ultimate 32 bit and Internet Explorer 8 and 9?

    HP Smart Web Printing has been replaced with HP Smart Printing.  It does support Windows 7 and IE 6 to IE9.  See this page for information.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • When I download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. Then when I try to open whatever I d

    When I try to download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. It shows up in a "download" window, then the icon shows up on my desktop. When I click on it to launch it, it says "open with" and I get the same "save/cancel" window. It's a continuous circle. What am I doing wrong??
    == This happened ==
    Every time Firefox opened
    == I don't know. I never downloaded apps through Firefox until all of a sudden Internet Explorer didn't work. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)

    What application are you choosing to open the files with?
    Because of how integrated it is with windows IE should work. If it's not working, something more widespread could be wrong with your computer that would also prevent other browsers from working properly. Of course we'd love you to stick with Firefox, but you should get help with IE, too.

  • Windows 7-Internet Explorer 8 and Mozilla Firefox 3.5

    Hi friends;
    I want to share that great news which is posted Steven Chan (Oracle Development) :
    I'm very pleased to announce that Microsoft Windows 7 desktop clients are certified for the Oracle E-Business Suite. Both Microsoft Internet Explorer 8 and Mozilla Firefox 3.5 are certified and supported on Windows 7 desktop clients.
    For more details, see:
    http://blogs.oracle.com/stevenChan/2009/12/win7_certified_ebs.html
    Regard
    Helios

    Hi,
    Apologize for the late reply and the misunderstanding about the ActiveX download location, we could change the location through the below registries:
    Use Registry Editor to change the "ActiveXCache" value to the location you want in the following registry key:
          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
    Use Registry Editor to change the "0" value to the location you want in the following registry key:
          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache
       NOTE: The values you enter in steps 1 and 2 must match.
    More information, please check
    How to Change the Download Location for ActiveX Files (registries exists in IE11).
    Regarding the urls that download the cab files into user profile directory, would you mind to share the URL?
    And here is some information regarding inf files:
    About INF File Architecture
    We may check the value of DestDir, DestDir can be set to 10 to place the file into the \Windows directory or to 11 to place the file into the \Windows\System directory. If no value is specified, the file is placed into the \Cache directory.
    Best regards
    Michael Shao
    TechNet Community Support

  • Windows vista, internet explorer 8 and adobe reader 9

    I have windows vista, internet explorer 8 and adobe reader 9.  When i open pdf files from a website i cannot save the document.  I don't get an error message, it just does not open.

    Have you tried capturing these application in separate packages?  I have been successful in capturing IE8 in one package and Adobe Reader XI in another package and then using the OptionalAppLinks option in the IE8 package to point to the Adobe Reader dat file.  Just make sure that both packages work outside of the applinking.  Also, you can try to install Adobe to the native machine and see if the embedded pdfs work in the virtual IE package. 
    These are just the troubleshooting steps that I would take to narrow down what is causing the issue you are seeing.
    Lance

  • I installed iTunes on my Windows 7 PC and now Internet Explorer crashes and won't run.

    I installed iTunes on my Dell PC running Windows 7 and now Internet Explorer crashes and won't run. Are there any known conflicts, or likely issues that may be causing this?
    I've rebooted, and the iTunes program seems to operate fine. I used it to upgrade my iPad's OS to 8.1.3.

    They aren't related and shouldn't affect each other.

  • Div background color not showing in Internet Explorer 8 and before

    My Footer div is not showing the background color (supposed to be black...)  in Internet Explorer 8 and earlier.  It's assuming the body color instead.  Also the border color on top of the 'bubbles' that run across the page is wrong (supposed to be blue)    Is this just because Internet Explorer 8 and earlier did not support div background and border colors yet, or is there a work-around??  Or maybe I did something wrong?
    The site is:    www.meridianwaterfiltration.com

    martcol wrote:
    I don't think that IE8 does rgba.
    It should be OK with rgb but not rgba.
    Martin
    No its doesnt
    I'd just use a hexidecimal color - black #000 and blue: #03f (see below)
    .footer {
    position: relative;
        width: 100%;
        padding-top: 0px;
        padding-right: 0;
        padding-bottom: 0px;
        padding-left: 0;
        background-image: none;
        background-repeat: repeat-x;
        margin-top: 0px;
        clear: both;
        height: 350px;
        background-color: #000;
    #bubble {
        background-image: url(Images/water drop 0banner.jpg);
        background-repeat: repeat-x;
        width: 100%;
        height: 43px;
        border-top-width: 3px;
        border-top-style: solid;
        border-top-color: #03F;
        margin: 0px;
        padding: 0px;
        background-color: #3FF;

  • Internet Explorer 8 and Menu Builder Links

    We just installed Internet Explorer 8 and the links from Menu
    Builder are no longer working. They will work in IE 7, and Firefox.
    Any ideas? Is anyone else having this problem?

    Hi there
    Before attempting to answer this I'd like to know exactly how
    you published the MenuBuilder output. Did you use the Flash output,
    the HTML or the EXE?
    Cheers... Rick

  • Has anyone seen the following on their WP? Message from webpage WARNING: Time Warner Cable Customer – Your Internet Explorer browser and  computer may be compromised by security threats. Call 844-600-6224 now for IMMEDIATE assistance.  OK

    Has anyone seen the following on their WP?
    Message from webpage
    WARNING: Time Warner Cable Customer –
    Your Internet Explorer browser and
    computer may be compromised by
    security threats. Call 844-600-6224 now for
    IMMEDIATE assistance.
    OK

    This sounds like a virus or malware program that has made its way onto your computer.  I would ensure you have the latest virus definitions on your computer and run a thorough (complete) scan of your system.  If this doesn't work, I would suggest  you use Microsoft's Malware Removal Tool.  You can download it at the link below.   Hope this helps.
    http://www.microsoft.com/security/pc-security/malware-removal.aspx

  • Conflict with internet explore 8 and photoshop elements 7

    I Have instaled and unistaled photoshop elments 7 and i cannot save pictures in photoshop  what is going wrong wnat can i do?

    Hi Philip,  It seems that my wife found out why the photo was not working
    she has  a lot more patience than i thank you for suggestions
                                                                              Ian.
    From: "Phillip Torn" <[email protected]>
    To: "ian kinnear" <[email protected]>
    Sent: Friday, September 18, 2009 3:11 PM
    Subject: Conflict with internet explore 8 and photoshop
    elements 7
    Hi,
    Try going to Photoshop.com
    and see if you can save it from there.
    Phillip

  • Microsoft Internet Explorer 10 and 11 not working

    Hi Team,
    Iam currently using windows 7 64-bit operating system and we require internet explorer 10 and 11 for our regular project usage.
    When I have upgraded the version of IE from 9 to 10 or 11 its not responding and not showing in processes tab of task manager as well.
    Request you to share your valuable thoughts in fixing this issue

    Does the behavior persist after Resetting Internet Explorer, followed by a reboot? See
    https://social.technet.microsoft.com/Forums/en-US/ad8ea815-11b6-43fb-9f84-1aec4115de77/unable-to-install-vs-professional-2013
    Tip: For optimal results, check/enable the Delete personal settings option.
    Is KB3003057, KB3006226, KB3010788, KB2992611, KB2993958, KB3005607, KB2978120, KB3003743, KB3002885 and/or
    KB3011780 listed in Installed Updates (not
    Update History)?
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • Internet Explorer 10 and div

    Hello,
    I asked a question recently about <div> lines added in Internet Explorer 10 and not other browsers. I received a number of helpful responses. I cannot now find my question on the list (I'm new to the forum and not sure where it went). In any event, the problem has been solved and I wanted to share the answer. Turns out that I had the "Compatibility View" button on when I was using IE10 and viewing the html pages. When I turn "Compatibility View" off, the pages now appear as they should and the same as they do in all of the other browsers. I appreciate the helpful responses I received.
    Ray

    By the way, here is your original post -
    http://forums.adobe.com/thread/1383373?tstart=30
    The nearly duplicate thread is several posts above that.

  • Adobe Premiere Elements 8 "Auto Analyzer" causes Microsoft Internet Explorer 9 and 10 to freeze.

    Adobe Premiere Elements 8 "Auto Analyzer" causes Microsoft Internet Explorer 9 and 10 to freeze. How is this fixed? Uninstall your software?

    Leo_Do
    Are you running Premiere Elements 8 as the 8.0.1 Update. If not, please do so
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4653
    The automatic Background Rendering and AutoAnalyzer features of version 8 are major grabbers of system resources.
    The 8.0.1 shuts off the automatic Background Rendering feature. See Edit Menu/Preferences/General and the background
    rendering option there.
    But, you have to shut off the AutoAnalzyer feature yourself in the Elements Organizer part of the program. To do that:
    1. Click on the Organizer tab in the row below the active Organize header in order to open the Elements Organizer.
    2. In the Elements Organizer workspace, go to Edit Menu/Preferences/AutoAnalzyer options and turn them all off.
    3. To get back to the Premiere Elements workspace from the Elements Organizer workspace, in the Elements Organizer
    workspace, go to File Menu/Exit.
    But back to what you actually wrote
    Adobe Premiere Elements 8 "Auto Analyzer" causes Microsoft Internet Explorer 9 and 10 to freeze. How is this fixed? Uninstall your software?
    Are you saying, with Premiere Elements 8.0/8.0.1 closed, that you are having these freezing problems with the non Adobe programs mentioned OR are you multitasking with Premiere Elements 8.0/8.0.1 project open when the freeze occur in these non Adobe programs?
    In the context of an opened or closed Premere Elements program, please check to be sure, when you close Premiere Elements, that the close is reflected in the Task Manager/Processes. When Premiere Elements is closed by you, are you still seeing it displayed in Task Manager/Processes?
    We will be watching for your follow up and deciding what next based on the details that you supply.
    Thanks.
    ATR

  • URL issue with Windows 7 Internet Explorer 11 and SAP NW PI 7.

    Hello SAP community,
    I am facing a strange issue with Windows 7 - Internet Explorer 11 and SAP NW java services (I hope I am in the correct discussion) ...
    When I try to open URL http://sapserver.hosters-name:port it is working so far with Windows 7 and Internet Explorer 11.
    But when I click than on NWA (example), I am getting "http 500 server error".
    I don't have the issue, when I start-up a VMware Workstation with Windows XP and Internet Explorer 8.
    But now the strange part: In our network DNS (Domain Name Service), we can also open the URL by http://sapserver.our-dns:port.
    Than it is working without problems with Windows 7 and Internet Explorer.
    I would agree to state the comment - it is just a Windows 7/Internet Explorer 11 issue, if it wouldn't work for both URLs (http://sapserver.hosters-name:port = problem URL; http://sapserver.our-dsn:port = working).
    We are using a SAP NW PI 7.x system. Some URLs for PI are using http://sapserver.hosters-name:port/java service.
    Do you have any hints what is cause the issue - I suspect some with Internet Explorer and Firefox (because with Google Chrome at least the URL for NWA is opened, beside the issue, Google Chrome can't display NWA content)?
    Thanks for your help.
    Best regards
    Carlos

    Hi all,
    I think I found the solution.
    The reason seems to be, the domain name for http://sapserver.our-dns:port, "our-dns" was already added to the compatibility view settings of Microsoft Internet Explorer.
    That seemed to be the reason, why it was working with http://sapserver.our-dns:port.
    When I now added for http://sapserver.hosters-name:port the domain "hosters-name" to the compatibility view settings it is now working.
    Internet Explorer Options => Settings for compatibility view => Add domain
    Best regards
    Carlos

  • Differance between internet explorer 10 and internet explorer 11

    sir what are the major  differences between  Internet explorer 10 and Internet explorer 11 ?

    Hi,
    In addition, please also take a look at this:
    What's New in Internet Explorer 11
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • No value in excise invoice

    Hi, When I am trying to create excise invoice with t.code j1iin with reference to billing document,No value is coming for excise duty and e-cess in excise invoic document.What can be reason.

  • Code Problem!  Please Help!

    Hello Everyone, I have a problem with a code that I have been working on for days. I keep getting this error message: exception in thread main java.lang.ArrayIndexOutOfBoundsException I would really appreciate your help. I am a beginner java programm

  • More than 50 char email subject to SAP inbox

    Hi Guys, I have the ff email reqt in my workflow: 1. Subject with more than 50 char 2. Message URL with more than 80 char 3. Message text in bold I cannot address all 3 when using send mail step so I created an activity step instead and call my metho

  • Running hot, fan comes on every few minutes

    I have recently had my powerbook G4 in for repairs to the LCD 5 times in the past few months. Now, it has started running hotter than usual and the fan comes on every few minutes while I am working. Any ideas about what might be going on would be app

  • Can't activate my iPhone 5 with my apple id

    Hi, I've got a an iPhone 5 and had the phone unlocked to take another sim card now the phone won't activate with my apple id. its the apple id i used to activate the phone from new and I've only got one apple id. the phone has been working perfectly