Validating xhtml made by coldfusion

Hello there,
I have problems validating the my Cold Fusion pages with the
xhtml. Cold Fusion is inserting the javascript code (see below)
ahead of the page header, as results the xhtml validation cannot
find the DOCTYPE. The javascript is coming from the session
variables that I created to manage login/out.
I would like to know how can I force ColdFusion to insert the
code below the xhtml header?

On both CF8 and CFMX7.0.2 it sticks its script in the
<head> block for me.
And it all validates as XHTML.
It might help if you post your code rather than (some of ~)
the output of
your code.
Adam

Similar Messages

  • Need help creating valid XHTML statement

    Hi -
    This is for a homework assignment that requires valid XHTML (I have to validate the dynamically generated HTML). Everything is great with the servlet except the statements where I "echo" the user input.
    The user inputs several values (loan calculator servlet), hits submit and if the values are valid inputs, the servlet returns the amount of the monthly payment. It also displays the inputs in case the user wants to change one of them (loan amount, interest rate or term of the loan).
    The servlet output is fine but my problem is in validating the html. The W3C validator shows an error on the lines where I'm echoing the original inputs.
    Here's my code that generates the html:
    out.println("<td><input type=\"text\" name=\"amount\" value=" + amount + "><br/></td>");Here's the html line that is output:
    <td><input type="text" name="amount" value=783745.43><br/></td>For this to be valid XHTML, the value needs to be in quotes. For example, that parameter should be value="783745.43".
    This is the error that the validator produces:
    Error Line 16 column 43: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
    <td><input type="text" name="amount" value=783745.43><br/></td>The 'shorttag' and 'omittag' make no sense to me; I haven't found a decent reference yet on how to use them.
    I've tried multiple combinations of escape sequences but have had no success. Can anybody point out what I'm overlooking?
    Thanks in advance.

    I have understand about the SQL statement.
    My problem is like this. I have 3 variable. I have a table with 3 field.
    How can I use those variable to reftrieve value from my select statement?
    How can I use those variable to send value to my update or insert statement?
    sample statement:
    - select F1, F2, F3 from T where F1 = V1
    - insert into F1, F2, F3 values(V1, V2, V3)
    please help, I'm working on my final project in college.
    Thanks before.
    "Sweet devil is still as sweet as ever..."

  • DW Validator XHTML Transitional DTD

    If i am using the validator XHTML 1.0 Transitional as my
    validation. Is the DTD file it is using located somewhere in DW's
    configuration folders? If so, does anyone know where it is?
    i see that under tagLibraries\Validator\ there is the
    XHTML10t.vtv file, but that is not the actual DTD.

    > is there any reason not to use XHTML 1.0 Strict?
    No. If your skill can support the use of this doctype, it's
    fine to use.
    > Would this interfere with validation?
    No.
    > Is there any way to change the
    > DOCTYPE for pages I have already started?
    In CS3, use FILE | Convert ...
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Daylilybud" <[email protected]> wrote in
    message
    news:frlanb$ec$[email protected]..
    >I am working on my first site with DW 8. I took a couple
    of classes and
    >have
    > been learning as much as I can about HTML and CSS. When
    choosing the
    > DOCTYPE,
    > is there any reason not to use XHTML 1.0 Strict? As far
    as I can tell,
    > people
    > seem to mostly use XHTML 1.0 Transitional (or an earlier
    version). I'd
    > appreciate a little more explanation about why
    Transitional XHTML is used
    > instead of Strict. I've been reading about problems with
    boxes in IE 5.5
    > that
    > can be fixed using conditional comments which would
    include some extra CSS
    > code
    > (* html). Would this interfere with validation? Is there
    any way to change
    > the
    > DOCTYPE for pages I have already started?
    >

  • Page not valid XHTML 1.0 Transitional?

    Okay,
    So I've been having problems (go fig) with my page displaying properly in the Firefox browser on my account. My site displays fine on my account in Safari. If I switch accounts, the site will display better (not perfectly) in Firefox. On my windows machine, my site displays fine in all three of my browsers, IE, Firefox, and Safari.
    Here is a link to my site: kevin morehouse
    The page that displays incorrectly is the "About Us" page.
    I went to the Mozilla website and found a link to http://validator.w3.org/
    This is what came back when I ran my URL
    Validation Output: 4 Errors
    Line 224, Column 202: there is no attribute "allowTransparency".
    …0" marginwidth="0" allowTransparency="true"></iframe>

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 255, Column 260: cannot generate system identifier for general entity "counter".
    …7-B031088E2D79?webdav-method=propget&counter"></script><

    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
    Line 255, Column 260: general entity "counter" not defined and no default entity.
    …7-B031088E2D79?webdav-method=propget&counter"></script><

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
    Line 255, Column 267: reference not terminated by REFC delimiter.
    …88E2D79?webdav-method=propget&counter"></script><img src

    If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
    Line 255, Column 267: reference to external entity in attribute value.
    …88E2D79?webdav-method=propget&counter"></script><img src

    This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
    Line 255, Column 267: reference to entity "counter" for which no system identifier could be generated.
    …88E2D79?webdav-method=propget&counter"></script>
    </script>
    Line 255, Column > 80: XML Parsing Error: EntityRef: expecting ';'.
    …pe="text/javascript" src="http://web.mac.com/i/chp/NGHitCounter.js"></script>…
    Message was edited by: kevin morehouse

    I am VERY concerned with the fact that my pages are not being properly validated and displayed.
    I have created two different sites using iWeb '08 and while I am satisfied with the ease of use, I am concerned that my sites are not being displayed correctly... in fact, the other day my friend who is a Mac whiz and who hosts my business website on his server... tried to visit the site that I created using iWeb '08 and had published to my .Mac account... it caused his browser to flat out crash! He said he hasn't seen anything like that in years!
    Here is the site I have begun to build http://www.mcleanmonowheel.com
    If you paste this url into http://validator.w3.org/ a slew of errors pop up.
    Is this the norm with iWeb or have I done something wrong on my end???
    -Patrick

  • Why isn't my page validating XHTML compatible?

    If you run my website I'm building through an XHTML validator
    it brings up one error and I don't understand why it brings up this
    error since all of my XHTML seems to validate fine...
    XHTML
    Validation Results

    You cannot have a <form> tag inside a <p>
    paragraph.
    <p align="center">
    <form action="
    http://app.icontact.com/icp/signup.php"
    method="post"
    name="icpsignup" target="_blank" accept-charset="UTF-8"
    onsubmit="return
    verifyRequired();pageTracker._linkByPost(this)">
    <input type="hidden" name="redirect"
    value="
    http://dev.thinktecmediagroup.com/thank-you.php"
    />
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Chris Jumonville" <[email protected]> wrote
    in message
    news:gnko91$728$[email protected]..
    > If you run my website I'm building through an XHTML
    validator it brings up
    > one
    > error and I don't understand why it brings up this error
    since all of my
    > XHTML
    > seems to validate fine...
    >
    >
    >
    >
    http://validator.w3.org/check?uri=http%3A%2F%2Fdev.thinktecmediagroup.com%2F&cha
    >
    rset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%
    > 2F1.606
    >

  • When is a valid query not valid when made into a subquery?

    I have a query that works great, but when I wrap a "select * from ( [insert regular query here] ) t_inline_view;" around it, it fails with an error of "ORA-02016: cannot use a subquery in a START WITH on a remote database".
    For details of my problem, please refer to this other thread:
    Receiving ORA-02016 error in ApEx, but not TOAD or SQL Workshop
    My main query, which performs well and works like a charm, contains remote database links, a hierarchy query "start with ... connect by ....", and some unions. The original query is in the previous thread for you to review if you like.
    I am simply asking what syntax/method/etc. is being used in my query that is causing it to break as a subquery, but work as a regular query? If it's easier to just give me a link to some documentation describing all the things that will cause a query to not be a valid subquery, that is fine with me.
    Shane.

    What is it you want to know not contained in the
    error message text?You're kidding me, right? The real weird problem is that my query already has a "start with .... connect by ...." in a subquery against a remote database. If I took the error at face value, I would expect to get that error even when running my query as a stand alone query. It doesn't error until the entire thing is a subquery. I'm just trying to understand what's wrong with my query and why it seems to error when it shouldn't and why it doesn't error when it seems like it should.
    If that doesn't help be sure when you post here to
    include full version information.The database running the query is 9.2.0.4 and remote database where all of the objects are stored is a 9.2.0.8 database.
    The docs on "START WITH" can be found at
    http://tahiti.oracle.com.
    Thanks. I checked the 9iR2 documentation and found this. I am familiar with what it means by a "scalar subquery expression." The link I found is http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_103a.htm#2075989. I found the "START WITH Clause" section by doing a "find" when the page loaded.
    Shane.

  • Problem validating XHTML

    Here's the code:
    <div id="headerlist">
    <form id="searchbox" action="/Search/CPSearch.html"
    method="post" >
    <label>SEARCH:</label>
    <input type="text" id="txtFormQuery" name="query"
    size="15em"/>
    <input type="submit" class="formbutton" id="searchGO"
    value="GO" />
    </form>
    </div>
    And this is the message from the WC3 validator:
    The mentioned element is not allowed to appear in the context
    in which you've placed it; the other mentioned elements are the
    only ones that are both allowed there and can contain the element
    mentioned. This might mean that you need a containing element, or
    possibly that you've forgotten to close a previous element.
    One possible cause for this message is that you have
    attempted to put a block-level element (such as "<p>" or
    "<table>") inside an inline element (such as "<a>",
    "<span>", or "<font>").
    But I can't figure out what I have done wrong. Anyone help?

    I think the <label> needs to wrap the <input>
    <label>SEARCH:
    <input type="text" id="txtFormQuery" name="query"
    size="15em"/>
    </label>
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com
    "typist" <[email protected]> wrote in
    message
    news:fk8or5$53e$[email protected]..
    > Here's the code:
    > <div id="headerlist">
    > <form id="searchbox" action="/Search/CPSearch.html"
    method="post" >
    > <label>SEARCH:</label>
    > <input type="text" id="txtFormQuery" name="query"
    size="15em"/>
    > <input type="submit" class="formbutton" id="searchGO"
    value="GO" />
    >
    > </form>
    > </div>
    >
    > And this is the message from the WC3 validator:
    >
    >
    > The mentioned element is not allowed to appear in the
    context in which
    > you've
    > placed it; the other mentioned elements are the only
    ones that are both
    > allowed
    > there and can contain the element mentioned. This might
    mean that you need
    > a
    > containing element, or possibly that you've forgotten to
    close a previous
    > element.
    >
    > One possible cause for this message is that you have
    attempted to put a
    > block-level element (such as "<p>" or
    "<table>") inside an inline element
    > (such
    > as "<a>", "<span>", or "<font>").
    >
    > But I can't figure out what I have done wrong. Anyone
    help?
    >
    >

  • JSF and XHTML Transitional validation

    We're finishing our first public-facing JSF project and our final hurdle is to make sure our pages are XHTML compliant (we're a government department and we have to fall in line); we've chosen XHTML 1.0 Transitional.
    We have two problems:
    1. When we use <h:commandLink ...> the inserted javascript is not escaped and produces the validation errors using the W3C validator:
    Warning Line 87 column 121: character "<" is the first character of a delimiter but occurred as data.
    ...p;if (adp != null) {for (var i = 0;i < adp.length;i++) {f.removeChild(adp)
    Warning Line 87 column 270: character "<" is the first character of a delimiter but occurred as data.
    ...p.split(',');for (var i = 0,ii = 0;i < ps.length;i++,ii++) {var p = document.
    [/code]
    Is this a known problem, and is there a solution? A last resort could be to use a ServletFilter to insert <[CDATA[ ]]> into the page, around the javascript.
    2. Multiple forms produce multiple hidden input tags with the same ID:
    Error Line 106 column 54: ID "javax.faces.ViewState" already defined.
    ...en" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id114:j_As far as I can see we're going to have to re-design our pages to use just one form (we have two navigation menus each with their own form, then one form for the page.)
    Unless there is another solution?
    We're using Sun JSF RI 1.2_03-b09-FCS (with facelets), but observe the same behaviour with 1.2_04.
    Many thanks for any help,
    Andy.

    I have encountered the same issue. Hard-coded "javax.faces.ViewState" is a design bug in my view. subviews make absolutely no sense when view state id is hard-coded. It has to be auto-generated just as it's values are, even though that may require iteration thru the params. One way to deal w/ this to avoid iteration thru params in JSF impl, is to append subview id "javax.faces.ViewState" hidden field, have each subview look up accordingly. There is no other way to have valid XHTML.
    If there's a work-around, please share.
    Thanks,
    Reshat.

  • XML validation: how to check ALL validation problem for XHTML

    I have a lot of documents in HTML format (not very good) that I would like to convert in XML (XHTML). I know it is not so easy and I would use this strategy in a Java program:
    1. Try to check the well-formness and validation with a XML parser (SAX or Xerces)
    2. If not valid: try to individuate ALL the problems the file has (*and not only the first one that halts the processing process*)
    3. Try to transform the HTML to a validable XHTML with some approach: regular expression or other methods
    So the questions I do to you are the following:
    1. What XML parser do you think is the best for this purposes? SAX or Xerces?
    2. How can I understand what are all the validation problems in the file and not only the first one (If I remember well XML parsers halt the parsing process at the first error...)?
    3. How can I transform the HTML to a valid XHTML? I have only to use RegEx or is there other tools to do this for XHTML and HTML problem?
    Thanks
    r
    Edited by: robertobat on Feb 21, 2009 7:09 PM

    >
    1. Neither of them. (Disregarding the fact that SAX and Xerces aren't in the same category and don't cover all the possibilities.I would say SAX default implementation in JRE and SAX parser in Xerces.
    2. I think you have "valid" and "well-formed" confused. And HTML isn't a dialect of XML so the idea of trying to use an XML parser to handle HTML isn't a good idea.I know very well what is the difference between valid and well-formed but I've used "validation" to represent all the conversion problem. But you are right. I'm convincing myself that using a XML parser as the first step is not a good idea.
    3. Well, this is the real question, isn't it? Those other two were just a waste. Don't screw about with regex, for one thing it doesn't work well for hierarchical structures and for another you won't finish in a finite time. Just use an HTML parser which can produce a DOM, like TagSoup for example. Or run them through HTMLTidy. You could also submit them to one of the internet sites which will validate XHTML for you.I've seen Tidy and its capability to convert an HTML to a XHTML and I think it is better then TagSoup because I have to implement this mechanism in a production environment and I want to use only open source projects that have a very long story and that are strong. But I'll see TagSoup as you say.
    I cannot use an Internet service to convert millions of private documents.

  • Loading Flash content using loadMedia??? Or else??? Has to be XHTML 1.0 Strict and WAG valid

    I have a new project into which i have to insert SWF into an HTML page using other way that the standard Abobe way to do it.
    I know about Flash Satay but i have 300s Flash files to insert and dont want to reopen each of them.
    My HTML pages have to W3C comply and as you know, the <classic id> or <embed> tag isnt valid regarding XHTML 1.0 Strict.
    Client, who insists that his media be accessible to EVERYBODY, suggested using
    "javascript:loadMedia('flashContainer','flv/v01.flv', '', '', 'fra', '','','', 'false');"><img src="images/flashFr.jpg" alt="" /></a></p>
    where loadMedia is a function with these parameters
    <!-- Parameters for loadMedia function
    loadMedia('mediacontainer', '<file>', '<caption>', '<image>', '<lang>', '<playId>', '<height>', '<width>', '<autostart>' )
    - mediacontainer - /* container that holds the player */
    - file - /* Specifies the location of the file to play. */ (.flv)
    - caption - /* Specifies the location of the xml-based captions file using the SMIL Timed Text format. */
    - image - /* Specifies the image to display when playing MP3 or FLV files. This FlashVar can also be used to display a preview image for other formats. Supported formats are JPG, SWF, PNG, and GIF. */
    - lang - /* Specifies the language of the player. */
    - playId - /* Element id of the player control */
    - height - /* Specifies the window height of the control. */
    - width - /* Specifies the window width of the control. */
    - autostart - /* AutoStart the loaded clip */
    -->
    Do you know about that? Can you help? Do you know any other way to insert Flash content with respect to:
    - Javascript on/off valid
    - XHTML 1.0 Strict valid
    - WAG valid.

    I am VERY concerned with the fact that my pages are not being properly validated and displayed.
    I have created two different sites using iWeb '08 and while I am satisfied with the ease of use, I am concerned that my sites are not being displayed correctly... in fact, the other day my friend who is a Mac whiz and who hosts my business website on his server... tried to visit the site that I created using iWeb '08 and had published to my .Mac account... it caused his browser to flat out crash! He said he hasn't seen anything like that in years!
    Here is the site I have begun to build http://www.mcleanmonowheel.com
    If you paste this url into http://validator.w3.org/ a slew of errors pop up.
    Is this the norm with iWeb or have I done something wrong on my end???
    -Patrick

  • JSF autocomplete - fails XHTML validation

    My JSF pages (mojarra 2.0.1) generate a hidden state holder with an autocomplete="off"' property as part of the </h:form> closing tag:
    <input type="hidden"
    name="javax.faces.ViewState"
    id="javax.faces.ViewState"
    value="-1715251979060474851:6281790946545926031"
    autocomplete="off" />
    </form>The autocomplete property is not valid XHTML so it does not validate under XHTML 1.0 Transitional, or any other common XHTML DTD as far as I can tell (see: [http://validator.w3.org/]).
    I'd like to validate under XHTML 1.0 Transitional. Has anyone got a good fix for this?

    The autocomplete was added as a fix, so you do not want to disable this. See: [Issue 1129|https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1129]
    There are a couple of ways to pass validation.
    *1) add ATTLIST to doctype - does not work*
    I found a way to pass XHTML validation as suggested by: [https://wiki.mozilla.org/The_autocomplete_attribute_and_web_documents_using_XHTML]
    Its a little bit it of a cheat really, but I add *[<!ATTLIST input autocomplete CDATA #IMPLIED>]* into my doctype and it will pass the W3C XHTML validator:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
       [<!ATTLIST input autocomplete CDATA #IMPLIED>]>This method passes validation, but this leaves your HTML with a "]>" at the start of the page, so is not usable
    *2) Custom DTD*
    The other way is to download the DTD from W3C, modify it and use your own custom DTD.
    Also a cheat but gets you through the W3C tests.
    Edited by: zsaurnni on Dec 7, 2009 10:24 PM

  • Function returning error text validation

    Hi,
    I have a page where i can insert/update user, organisation, responsible.
    Organisation can be nullable.
    Only one user at a time can be responsible for a organisation.
    To check this responsible validation i made a function returning error text validation as follow:
    BEGIN
    FOR c IN (SELECT usr_spa
    FROM kpi_users
    WHERE usr_org_id = :p22_usr_org_id
    LOOP
    IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
    THEN
    RETURN 'A user is already responsible for this organisation'||'!';
    END IF;
    END LOOP;
    END;
    The validation works fine.
    But it goes wrong when i want to insert a new user, without assigning him to an organisation.
    I get following message:
    ORA-01722: invalid number
    ERR-1024 Unable to run "function body returning text" validation.
    Can someone please help me solve this problem?
    Thanks

    Hi,
    try:
    BEGIN
    FOR c IN (SELECT usr_spa
    FROM kpi_users
    WHERE usr_org_id = nvl(:p22_usr_org_id,-1)
    LOOP
    IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
    THEN
    RETURN 'A user is already responsible for this organisation'||'!';
    END IF;
    END LOOP;
    END;This assumes that :p22_usr_org_id could be null and converts this to -1 (pick another default value if this may exist as an id). It is possible that the statement would otherwise be seen as WHERE usr_org_id = null which is invalid.
    or you could do:
    BEGIN
    IF :p22_usr_org_id IS NOT NULL THEN
    FOR c IN (SELECT usr_spa
    FROM kpi_users
    WHERE usr_org_id = :p22_usr_org_id
    LOOP
    IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
    THEN
    RETURN 'A user is already responsible for this organisation'||'!';
    END IF;
    END LOOP;
    END IF;
    END;As this would stop the validation running if the :p22_usr_org_id is null.
    Or, you could just make your validation conditional on p22_usr_org_id not being null?
    Andy

  • Creating a new Validation-Asset Master data

    Hi ,
    Requirement- a warning msg to popup when the capitalized date in AS01 ( under posting information) is a date in a previous fiscal year.
    A new validation step was created in GGB0 with the rule:
    Prerequisit: Capitalized on < Acquisition yr (ANLA-AKTIV < ANLB-VYEAR)
    Check:Capitalized on < Acquisition yr (ANLA-AKTIV < ANLB-VYEAR)
    Message:Capitalization is done in a previous year (warning)
    and in OAVC,
    the validation was made active for the respective company code.
    However , an asset creation is possible for a previous fiscal year but the warning message did not pop up.
    Please assist.
    Thank you,
    Niludini A

    Hi Niludini
    you can simulate the validation rule by clicking at - GGB0>> Asset accounting > select the validation rule> select step " " and then select simulation option in the dropdown under Validation tab.
    After activating simulation, please try to create a new asset in another screen without closing the similation tab in order to understand whther the validation is triggerred correctly.
    Please also verify that, validation is created under master data and prerequisite may be added as T code - "AS01" .
    Best Regards
    Jomon

  • Why ?xml version="1.0"?   in XHTML file

    I am new to jsf and I am struggling with an xml tag in the beginning of all my xhtml files. It appears before the doctype;
    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    This is no problem with Firefox or Opera, but it messes up my site in IE. It goes into a so called quirks mode and uses old standards for CSS. Is it any way I can remove this tag? As I understand it doesn't have to be there to produce valid xhtml.
    I am extreamely happy for answers on this one.
    Jeanette

    Try using the XMLRoot function.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb13gen.htm#sthref1566

  • Parallel Process in Coldfusion

    Hi All, I came across with problem of the time we spent to process 10.000 employees, that took so long, more than 2 hours.
    I made an Coldfusion application to process Payroll data and calculate the taxes.
    the Idea to improve the performance is by making the process runs parallel.but I don't know how to do it. any advice that might help me ?
    Thanks,
    Wisnu

    One possible solution is to run that application in Coldfusion's asynchronous gateway. Coldfusion will then start the application as a batch process and, while it is running in the background, Coldfusion will proceed to do other things.

Maybe you are looking for

  • Lastest Security Update fixes Vulnerabilities...

    It looks as though Apple has indeed fixed the latest issues posted on the web over the last two weeks. I tested the vulnerability as below, and it now fails: http://secunia.com/macos_x_command_execution_vulnerabilitytest/ Scott

  • How to print text in paper format iin smartforms

    Hi all,   I want a question that  how to print text in paper format like  paper divides into 2 parts and if the firstpart is full of text i.e., it exceeds the first page the text will be displyed in the second part of the first page. Usefull answers

  • Help needed in removing duplicate items of list box  in java

    How to remove duplicate items of list box while dynamically inserting (on-click event) It is not identifying duplicate data Variable name is HP_G1 HP_dmg1 = (DefaultListModel) HP_G1.getModel(); int a = HP_G1.getModel().getSize(); System.out.println("

  • Get file name of an email attachment with sql query

    Hi all, How can I get the file name of an email attachment with a sql or pl/sql query? Thanks in advance. Edited by: JonasZzZz on Sep 14, 2009 10:52 AM

  • Air 4.0 Beta touch not working

    I am using: iOS 7 iPhone 5 Starling 1.4.1 Gestouch multitouch lib any tips?