Output html is not W3C valid

Hi,
Would hear if you know why simple tags aren't compatible with doctype declaration? Or am I missing something here...?
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
<af:document title="Window Title">
<p>This document is invalid</p>
</af:document>
</f:view>
</jsp:root>
Try validating the output of this page.
Do any of you have experiences with changing the DOCTYPE from HTML 4.01 to XHTML 1.0 Transitional in ADF? If it is possible?
Regards,
Micah

Thank you for your reply :)
Yes it is true that <af:document> adds the DOCTYPE declaration to the top of the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
but...
According to the HTML 4.01 Transitional "CLASS" is not a valid attribute on <HTML> - This is what ADF generates:
<html class="p_AFMaximized" ...etc >
This is just one out of many :-/
Why isn't ADF compliant with the DOCTYPE it declares???
BTW: contentType is not the same as DOCTYPE. It is a mimetype,
Regards,
Micah

Similar Messages

  • Output page is not completed via NSAPI cluter

    I have two Netscape web servers installed NSAPI and configured as
              cluster mode.
              Besides WebLogicCluster parameter,
              I have following
              ConnectTimeoutSecs=20
              ErrorPage=error.html
              And, I experience the output HTML is not completed sometime.
              Does anyone experience this kind of problem?
              How to fix it?
              Thanks,
              Alex
              

    I have encountered a similar bug with the NSAPI proxy product. It is a
              documented bug that has yet to be fixed. Our applications uses RMI and if an
              RMI call takes too long to complete the HTML page returns incomplete. This may
              be what you are seeing. You will only see this if your web browser is using
              HTTP 1.1. The problem is the WLS is using HTTP 1.0 and by default the
              NES/NSAPI proxy uses HTTP 1.1. If the client web browser is using HTTP 1.0
              then the NES/NSAPI will fall back to the HTTP 1.0 protocol and everything is
              happy. Good luck if this your problem. The only solution so far is to use WLS
              as the HTTP server ( i.e. buy more licenses ).
              Alex Peng wrote:
              > Prasad,
              >
              > I have all of pages created by WebLogic.
              >
              > Alex
              >
              > Prasad Peddada wrote:
              >
              > > Alex,
              > >
              > > Who is serving the html pages. NES or WL? As far configuring with
              > > proxy I would let NES handle the html requests and let Wl servers handle
              > > the jsp, servlets and jhtml.
              > >
              > > Prasad
              > >
              > > Alex Peng wrote:
              > >
              > > > I have two Netscape web servers installed NSAPI and configured as
              > > > cluster mode.
              > > > Besides WebLogicCluster parameter,
              > > > I have following
              > > > ConnectTimeoutSecs=20
              > > > ErrorPage=error.html
              > > >
              > > > And, I experience the output HTML is not completed sometime.
              > > >
              > > > Does anyone experience this kind of problem?
              > > > How to fix it?
              > > >
              > > > Thanks,
              > > >
              > > > Alex
              

  • Not a valid SOAP Content-Type: text/html; charset=iso-8859-1

    Friends
    JDEV and SOA suite 10134
    I have multiple domains on my BPEL Server. In one of the domain since I deployed the new process, all the processes of that domain are now failing on execution with following error in opmn/soa_instance/*.err log files. No errors in domain.log
    +"Caused by: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; cha+
    +rset=iso-8859-1"+
    At the same time we get Internal Server Error on BPEL Console.
    I have sync processes with 1 or two invokes, so I am generally losing the instances, cannot provide the details in the process execution. All BPEL processes are invoking Siebel Web Services, that is the common part.
    When I restart my system, it may or may not work; even if it works then within few instances execution again starts giving the same error. I can see that after the errors the instance are going through and getting completed successfully few times. All these processes were working successfully earlier.
    Any idea about this !!!!
    Thanks

    Thanks Anirudh,
    I don't use compensation handlers. Moreover I have properly defined the scopes and sequences throughout the bpel process. My processes are sync in nature and I'm not able say at what step exactly the processes are failing and throwing the SOAP content Type error though the instances are getting completed with delay soemtimes.

  • SOA Mediator - javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html

    I am using SOA Mediator 11.1.1.7(11g) and while invoking a thrid party web service API I get the following error. Please help me fix this issue.
    ORAMED-03302:[Exception in oneway execution]Unexpected exception in one-way operation "execute" on reference "AppvOffclJMSInAdapter_Exist_RS.AppvOffclJMSInAdapter_Exist_RS".Possible Fix:Check whether the reference service is properly configured and running or look at exception for analyzing the reason or contact Oracle Support Services. Cause:Unable to invoke endpoint URI "https://stripesqa.doe.gov/headergeneric/HeaderGeneric/HeaderGeneric.asmx" successfully due to: javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    Thanks,
    Veda

    user9055538 wrote:
    i test the soa webservcies in a browserHi,
    It would help if you could give us more details...
    What type of soa webservices are we talking about here (JAX-RPC/BPEL/OSB)?
    And how exactly are you testing your soa webservices in a browser (EM)?
    A valid SOAP will have content-type: text/xml
    You may be pointing to a invalid endpoint or you may have an authentication/authorisation problem, so you are receiving html instead of soap...
    Cheers,
    Vlad

  • Import error: File is not a valid HTML DB export file

    Hi,
    This is driving me a bit nuts: I have made a change to a page and want to move it to another HTMLDB environment. I have 3 environments, DEV, TEST and PROD, they are all version 1.6.0.00.87. I export the page from DEV, then when I try and import it into TEST I get an error "File is not a valid HTML DB export file". The file looks OK to me, I have regenerated it several times, I have tried both DOS and UNIX formats, same result. How can I find out the root cause of this issue, I've been able to export/import individual pages without any problems up to now.
    Thanks,
    Steve

    This was tripping me up for a while too. Make sure that the workspace id (1236351 or some such large number) is the same across all environments. You can ensure this by taking a export of the DEV workspace itself from the Admin interface (login to workspace internal) and importing it into TEST and PROD.
    Once the workspace id is the same, you can export/import pages between them without a problem.
    Thanks

  • CSS Issues , HTML text not rendering properly

    I've loaded and parsed some xhtml in my DataManager class that is validated against the W3C strict dtd.I'm pushing certian bits of this into public arrays in my DataManager. My ContentManager, calls to the DataManager, and is returned a corresponding data set ,  instantiates a new GenericSection , and passes in the array as an argument in the constructor.
    var targetData : Array = new Array();
    targetData = DataManager.getInstance().returnAboutData();
    var targ : String = targetData[0].toString();
    var targFormat : String = targ.slice( ( targ.indexOf( '">' , 0 ) + 2 ) , ( targ.lastIndexOf( '/p>' , 0 ) - 3 ) );
    var newSection : GenericContent = new GenericContent( targFormat );                   
    newSection.publicId = ind;
    contentContainer.addChild( newSection );
    The output of formatTarg is :
    The purpose of this site is to serve as an online portfolio and work reference. I am a 28 year old WEB/INTERACTIVE developer who has worked in the Los Angeles and Greater Orlando areas since 2004. I specialize in
      <span class="bulletText">ADOBE FLASH</span>
      <span class="bulletText">FLASH ANIMATION</span>
      <span class="bulletText">ACTIONSCRIPT 2.0/3.0</span>
      , and
      <span class="bulletText">ACTIONSCRIPT PROJECTS IN FLEX</span>
      . The client links listed above will provide several examples of media that I developed for the web. Please select the ACTIVE TEXT to the right of the PROJECT LINK heading in each section , if available ,  to view the site.
    My GenericContent class i linked to a movieclip in the library , with one dynamic textfield, with the following settings :
    instanceName : sectionText;
    anti-aliasing : for readability;
    embed : uppercase , lowercase , numerals , and puncutation
    behavior : muliline
    render as html : selected( true );
    sectionText is declared as a public var in the GenericContent instance.
    I have tried applying styles as such :
    private var css                    :            StyleSheet;
    private var cssDeclarations            :            String;
    css = new StyleSheet();
    var bulletText : Object = new Object(); 
    bulletText .fontSize = 20; 
    bulletText .fontWeight = "bold"; 
    bulletText .color = "#336699"; 
    bulletText .leading = 12;
    css.setStyle( ".bulletText ", bulletText  );
    sectionText.wordWrap = true;
    sectionText.embedFonts = true;
    sectionText.styleSheet = css;
    sectionText.htmlText = contentText;
    and
    css = new StyleSheet();
    cssDeclarations = ".bulletText{font-size:12px;color:#FFFF00"};
    css.parseCSS(cssDeclarations);
    sectionText.wordWrap = true;
    sectionText.embedFonts = true;
    sectionText.styleSheet = css;
    sectionText.htmlText = contentText;
    The html is not being rendered properly , the tags themselves do not show up , but no style is being applied. Any ideas , or perhaps a better approach ? thanks !

    Upon further investigation i figured out what was wrong.
    This property :
    bulletText .fontWeight = "bold";
    was causing my text to not render because bold character weren't used within the symbol associated with the class. By removing that and cleaning up the code a bit ,
    var span : Object = new Object(); 
    span.fontSize = 12; 
    span.color = "#336699";
    css = new StyleSheet();
    css.setStyle( ".bulletText", span );
    sectionText.styleSheet = css;           
    sectionText.htmlText = contentText;
    it rendered semi correctly , except with erronious line breaks , the solution for that was to , remove any instances of "/n" from the contentText string before setting the sectionText , done like this :
    var pattern : RegExp = /\n/g;
    contentText = contentText.replace( pattern , "" );
    now it looks great !

  • Problems producing W3C-valid template-built pages

    Folks:
    DW CS3 on Intel Mac
    CMX Design-Time Extension
    I would like my site to pass the W3C markup validator,
    http://validator.w3.org/.
    My site design is straightforward: I've got a single
    custom-built template page, "index.php" for the layout of my site.
    There's no content in this file. The header of this file contains a
    link to my site's single master CSS style-sheet.
    All content comes from one of over 100 html "contact-chunk"
    files, each of which contains only "bare" HTML, no header or
    trailer material at all, no <!DOCTYPE...> nor <html>
    ... <head> ... </head> ... <body> ..
    </body> stuff at all. One of these contact-chunk files is
    included at each page-load. The details are not important.
    Wait, I lied: Each of those contact-chunk files contains a
    bare link to the site's master CSS style-sheet, like this:
    <link href="/TheMasterStyleSheet.css" rel="stylesheet"
    type="text/css">
    "Bare", meaning NOT enclosed by <head> ...
    </head> or anything else. DW requires just the link so it can
    detect the site-wide style-sheet and let me apply styles from it to
    the "content-chunk" files.
    When complete pages are served to clients, that extra link
    would ordinarily mean the browser would see two different external
    style-sheet links from the composite page at load-time, which is is
    not allowed. This is in fact flagged as an error by W3C validator.
    There is no sense in giving browsers known-invalid code! It
    makes total sense to me that links to external styles-sheets need
    to occur just once,in the header of such composites as they are
    seen by browsers. It also makes sense to me that the contact chunk
    files could not contain <html> ... <head> ...
    </head> ... <body> .. </body> tags because these
    would be nested within the <body>... </body? structure in
    the template page. Confusion!
    Thanks to the DW designers, there's a way to avoid sending
    the second style-sheet link: DW's Design-Time Style-Sheet mechanism
    allows me declare specific style-sheet links as Design-Time ONLY;
    the specified links are stripped before the files are uploaded. DW
    CS3 supports only page-by-page declarations, But with the
    minimal-cost "CMX Design-time" extension (
    http://www.communitymx.com/abstract.cfm?CID=61265)
    added, I can make these declarations on a site-wide basis. Cool!
    All the above seems quite reasonable and how-it-must-be for
    template-include designs. However,I have found two problems:
    1. The Design-Time Style Sheet Mechanism works unpredictably
    When I tell the CMX Design-time Extension to exclude my
    master CSS style-sheet link from all .html files, site-wide, it
    apparently does what it is required to make this happen: it creates
    .mno files in _notes folders corresponding to all .html files in
    the source tree. (The only files with .html extensions in my source
    tree are such content-chunk files.) Without the extension, I'd end
    up with identical files after manually applying Text--> CSS
    Styles -->Design-Time individually to all the content-chunk
    files.
    I did have some successful test runs on individual content
    chunk files, so I know the Design-Time Mechanism is fundamentally
    sound.
    Yes, I am certain I re-PUT all the .html files to the server
    to allow the specified CSS link in each to be stripped. There is
    only one external style-sheet, and I'm certain I specified that
    one. Yes, I looked in the DW and extension documentation for
    additional information.
    2. This Design-Time Style Sheet mechanism is completely
    ineffective for embedded styles in content-chunk files..
    I think embedded styles are completely legal, and make
    perfect sense when particular styles are needed only for one source
    file. A few of my contact-chunk files contain these.
    My questions:
    Question 1: How to assure that the DW Design-Time mechanism
    is activated and works consistently? Or how to debug it? What
    exactly should appear in the _notes/*.mno files?
    Question 2: Assuming both my development machine and the
    server are running Unix, is there any downside to picking a
    distinctive extension for content-chunk files? Any standard? How
    about ".ihtml" e.g., "foo.ihtml"?
    Question 3: Is there any alternative that preserves embedded
    styles in my design? (I think it is inevitable that I'll need to
    move my local styles to the master CSS style-sheet or use in-line
    styles. I'm just checking in case I've missed a clever
    alternative.)
    Question 4: I'm doing a lot of work to make this design work
    with site-wide CSS, and each time I solve one issue, another one
    pops up. In my experience, that pattern either means I'm trying to
    use a subtle, complex mechanism, which simply takes a while to get
    right. Or that I've committed a fundamental design error, and
    there's possibly a much easier way to accomplish the same result.
    Which?
    TIA,
    Henry
    TIA,
    Henry

    > "Bare", meaning NOT enclosed by <head> ...
    </head> or anything else.
    > DW
    > requires just the link so it can detect the site-wide
    style-sheet and let
    > me
    > apply styles from it to the "content-chunk" files.
    Won't work. The chunks are going in the body. Links to
    stylesheets in the
    body are invalid HTML and ignored by the browsers.
    > When complete pages are served to clients, that extra
    link would
    > ordinarily
    > mean the browser would see two different external
    style-sheet links from
    > the
    > composite page at load-time, which is is not allowed.
    This is in fact
    > flagged
    > as an error by W3C validator.
    This makes no sense. A page can have oodles of links to
    external
    stylesheets, but they must all be in the head of the page.
    > 1. The Design-Time Style Sheet Mechanism works
    unpredictably
    Perhaps it's more accurate to say that the CMX extension
    works unpredictably
    with DT Stylesheets. I've never seen an instance of DT
    stylesheets failing,
    either in my hands or in anyone else's. Your report is the
    first. I think
    CMX will have to help you with this one.
    > 2. This Design-Time Style Sheet mechanism is completely
    ineffective for
    > embedded styles in content-chunk files..
    >
    > I think embedded styles are completely legal, and make
    perfect sense when
    > particular styles are needed only for one source file. A
    few of my
    > contact-chunk files contain these.
    Nope - embedded styles are illegal in this sense.
    > Question 2: Assuming both my development machine and the
    server are
    > running
    > Unix, is there any downside to picking a distinctive
    extension for
    > content-chunk files? Any standard? How about ".ihtml"
    e.g.,
    > "foo.ihtml"?
    Nope. You could use 'monkeybutt' if you wanted. However, if
    you want DW
    to recognize that extension as containing HTML code you would
    need to
    'register' it with DW -
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410&sliceId=1
    > Question 3: Is there any alternative that preserves
    embedded styles in my
    > design? (I think it is inevitable that I'll need to move
    my local styles
    > to
    > the master CSS style-sheet or use in-line styles. I'm
    just checking in
    > case
    > I've missed a clever alternative.)
    Yes, you can give each "chunk" chunk-specific container
    names, and place the
    desired chunk-specific CSS selectors in the parent CSS.
    > Question 4: I'm doing a lot of work to make this design
    work with
    > site-wide
    > CSS, and each time I solve one issue, another one pops
    up. In my
    > experience,
    > that pattern either means I'm trying to use a subtle,
    complex mechanism,
    > which
    > simply takes a while to get right. Or that I've
    committed a fundamental
    > design
    > error, and there's possibly a much easier way to
    accomplish the same
    > result.
    > Which?
    The latter, I believe.
    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
    ==================
    "hen3ry" <[email protected]> wrote in
    message
    news:[email protected]...
    > Folks:
    >
    > DW CS3 on Intel Mac
    > CMX Design-Time Extension
    >
    > I would like my site to pass the W3C markup validator,
    >
    http://validator.w3.org/.
    >
    > My site design is straightforward: I've got a single
    custom-built
    > template
    > page, "index.php" for the layout of my site. There's no
    content in this
    > file.
    > The header of this file contains a link to my site's
    single master CSS
    > style-sheet.
    >
    > All content comes from one of over 100 html
    "contact-chunk" files, each of
    > which contains only "bare" HTML, no header or trailer
    material at all, no
    > <!DOCTYPE...> nor <html> ... <head>
    ... </head> ... <body> .. </body>
    > stuff
    > at all. One of these contact-chunk files is included at
    each page-load.
    > The
    > details are not important.
    >
    > Wait, I lied: Each of those contact-chunk files contains
    a bare link to
    > the
    > site's master CSS style-sheet, like this:
    >
    > <link href="/TheMasterStyleSheet.css"
    rel="stylesheet"
    > type="text/css">
    >
    > "Bare", meaning NOT enclosed by <head> ...
    </head> or anything else.
    > DW
    > requires just the link so it can detect the site-wide
    style-sheet and let
    > me
    > apply styles from it to the "content-chunk" files.
    >
    > When complete pages are served to clients, that extra
    link would
    > ordinarily
    > mean the browser would see two different external
    style-sheet links from
    > the
    > composite page at load-time, which is is not allowed.
    This is in fact
    > flagged
    > as an error by W3C validator.
    >
    > There is no sense in giving browsers known-invalid code!
    It makes total
    > sense to me that links to external styles-sheets need to
    occur just
    > once,in the
    > header of such composites as they are seen by browsers.
    It also makes
    > sense
    > to me that the contact chunk files could not contain
    <html> ... <head> ...
    > </head> ... <body> .. </body> tags
    because these would be nested within
    > the
    > <body>... </body? structure in the template
    page. Confusion!
    >
    > Thanks to the DW designers, there's a way to avoid
    sending the second
    > style-sheet link: DW's Design-Time Style-Sheet mechanism
    allows me
    > declare
    > specific style-sheet links as Design-Time ONLY; the
    specified links are
    > stripped before the files are uploaded. DW CS3 supports
    only page-by-page
    > declarations, But with the minimal-cost "CMX
    Design-time" extension
    > (
    http://www.communitymx.com/abstract.cfm?CID=61265)
    added, I can make
    > these
    > declarations on a site-wide basis. Cool!
    >
    > All the above seems quite reasonable and how-it-must-be
    for
    > template-include
    > designs. However,I have found two problems:
    >
    > 1. The Design-Time Style Sheet Mechanism works
    unpredictably
    >
    > When I tell the CMX Design-time Extension to exclude my
    master CSS
    > style-sheet link from all .html files, site-wide, it
    apparently does what
    > it is
    > required to make this happen: it creates .mno files in
    _notes folders
    > corresponding to all .html files in the source tree.
    (The only files with
    > .html extensions in my source tree are such
    content-chunk files.) Without
    > the
    > extension, I'd end up with identical files after
    manually applying Text-->
    > CSS
    > Styles -->Design-Time individually to all the
    content-chunk files.
    >
    > I did have some successful test runs on individual
    content chunk files, so
    > I
    > know the Design-Time Mechanism is fundamentally sound.
    >
    > Yes, I am certain I re-PUT all the .html files to the
    server to allow the
    > specified CSS link in each to be stripped. There is only
    one external
    > style-sheet, and I'm certain I specified that one. Yes,
    I looked in the DW
    > and
    > extension documentation for additional information.
    >
    >
    > 2. This Design-Time Style Sheet mechanism is completely
    ineffective for
    > embedded styles in content-chunk files..
    >
    > I think embedded styles are completely legal, and make
    perfect sense when
    > particular styles are needed only for one source file. A
    few of my
    > contact-chunk files contain these.
    >
    > My questions:
    >
    > Question 1: How to assure that the DW Design-Time
    mechanism is activated
    > and
    > works consistently? Or how to debug it? What exactly
    should appear in
    > the
    > _notes/*.mno files?
    >
    > Question 2: Assuming both my development machine and the
    server are
    > running
    > Unix, is there any downside to picking a distinctive
    extension for
    > content-chunk files? Any standard? How about ".ihtml"
    e.g.,
    > "foo.ihtml"?
    >
    > Question 3: Is there any alternative that preserves
    embedded styles in my
    > design? (I think it is inevitable that I'll need to move
    my local styles
    > to
    > the master CSS style-sheet or use in-line styles. I'm
    just checking in
    > case
    > I've missed a clever alternative.)
    >
    > Question 4: I'm doing a lot of work to make this design
    work with
    > site-wide
    > CSS, and each time I solve one issue, another one pops
    up. In my
    > experience,
    > that pattern either means I'm trying to use a subtle,
    complex mechanism,
    > which
    > simply takes a while to get right. Or that I've
    committed a fundamental
    > design
    > error, and there's possibly a much easier way to
    accomplish the same
    > result.
    > Which?
    >
    > TIA,
    >
    > Henry
    >
    > TIA,
    >
    > Henry
    >
    >

  • W3C Validator

    I have a javascript based scroller that allows for pauses
    when you mouse over the text links, and this is just creating
    several errors according to the w3c validator.
    take a look at a typical link for the news scroller:
    <a href="
    http://www.gcn.com/online/vol1_no1/45929-1.html?topic=defense-technology&CMP=OTC-RSS"
    target="_blank" "javascript:;" onMouseOver="flvXAS1(0)"
    onMouseOut="flvXAS1(1,1,50,1)">DISA picks builder for new
    HQ</a>
    For one, w3c gives me al kinds of warning for just the url
    itself... which i think it ridiculous.... because it has "&"
    and "=" etc. in the URL, which i have no control over.
    Second, it hates the javascript written into the a link.
    any suggestions to keep w3c happy?

    .oO(jsteinmann)
    >I have a javascript based scroller that allows for pauses
    when you mouse over
    >the text links, and this is just creating several errors
    according to the w3c
    >validator.
    >
    > take a look at a typical link for the news scroller:
    >
    > <a
    >href="
    http://www.gcn.com/online/vol1_no1/45929-1.html?topic=defense-technology&C
    >MP=OTC-RSS" target="_blank" "javascript:;"
    onMouseOver="flvXAS1(0)"
    >onMouseOut="flvXAS1(1,1,50,1)">DISA picks builder for
    new HQ</a>
    >
    > For one, w3c gives me al kinds of warning for just the
    url itself... which i
    >think it ridiculous.... because it has "&" and "="
    etc. in the URL, which i
    >have no control over.
    It's not ridiculous, but required to encode & as
    &amp; in HTML.
    Otherwise it will/can be seen as the beginning of a character
    reference.
    > Second, it hates the javascript written into the a link.
    It hates the "javascript:;", which is pretty pointless there.
    Micha

  • Confused with W3C validation results

    Ok so i've had problems with this page (please see below), adapting it to respond to any size device. I was advised to start off by tidying up the errors on the W3C validator. I have reduced the errors right down but am having big problems with the error shown below.  I have tried removing all the dl elements from each picture/element and leaving just the one containing the whole section but its still not right.
    Can anyone please help me resolve it?
    Line 462, Column 4: Element dl is missing a required child element.
    <dd>  <input name="CAT_Custom_76926" id="CAT_Custom_76926_0" onclick="Recalcula…
    www.milesfunerals.com/estimator.php

    Ok so i've applied my unordered list. (please see below) and i applied the CSS like you suggest. Now how do i get the pictures to sit side by side in rows of two's down the page? Do i need to apply a float left and right to each <li> element or is there an easier way? This is what it currently looks like (www.milesfunerals.com/estimator.php) and this is the layout i need to acheive (www.milesfunerals.com/estimator.html).
      <ul>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_0" onclick="Recalculate()" type="radio" value="-190" />
                    </li>
                    <li> Basic Simple Coffin (- £190)</li>
                    <li><span class="dropdownmenu" id="CAT_Custom_00010" name="CAT_Custom_00010" onchange="Recalculate()"><select name="CAT_Custom_00010" class="dropdownmenu" id="CAT_Custom_00010" onchange="Recalculate()">
                      <option selected="selected" value="0">-- Select additional services --</option>
                      <option value="225" >Limousine (&pound;225)</option>
                      <option value="200">Chapel visiting (&pound;200)</option>
                      <option value="120">Choice of date & time (&pound;120)</option>
                      <option value="425" >Limousine,Chapel visiting (&pound;425)</option>
                      <option value="345" >Limousine,Choice of date & time (&pound;345)</option>
                      <option value="320">Chapel visiting, Choice of date & time (&pound;320)</option>
                      <option value="545" >Limousine,Chapel visiting, Choice of date & time (&pound;545)</option>
                      </select></span>
                      <img src="images/The_Elgar.jpg" alt="Elgar" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Elgar_copy.jpg','','toolbar=yes,width=800,height=400 ')"></li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_4" onclick="Recalculate()" type="radio" value="260" />
                      <span class="estimatorsmalltext">The Elgar (£260)</span></li>
                    <li><img src="images/The_Gladstone.jpg" alt="Gladstone" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Gladstone_copy.jpg','','toolbar=yes,width=800,height =400')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_5" onclick="Recalculate()" type="radio" value="360" />
                      <span class="estimatorsmalltext">The Gladstone (£360)</span></li>
                    <li><img src="images/The_Drake.jpg" alt="Drake" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Drake_copy.jpg','','toolbar=yes,width=800,height=400 ')">  </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_3" onclick="Recalculate()" type="radio" value="435" />
                      <span class="estimatorsmalltext"> The Drake (£435)</span></li>
                    <li><img src="images/The_Byron.jpg" alt="Byron" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Byron_copy.jpg','','toolbar=yes,width=800,height=400 ')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_1" onclick="Recalculate()" type="radio" value="500" />
                      <span class="estimatorsmalltext">The Byron (£500)</span></li>
                    <li><img src="images/The_Churchill.jpg" alt="Churchill" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Churchill_copy.jpg','','toolbar=yes,width=800,height =400')"></li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_2" onclick="Recalculate()" type="radio" value="560" />
                      <span class="estimatorsmalltext">The Churchill (£560)</span></li>
                    <li><img src="images/The_Nelson.jpg" alt="Nelson" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Nelson_copy.jpg','','toolbar=yes,width=800,height=40 0')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_7" onclick="Recalculate()" type="radio" value="630" />
                      <span class="estimatorsmalltext">The Nelson (£630)</span></li>
                    <li><img src="images/The_Dickens.jpg" alt="Dickens" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Dickens_copy.jpg','','toolbar=yes,width=800,height=4 00')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_12" onclick="Recalculate()" type="radio" value="1060" />
                      <span class="estimatorsmalltext">The Dickens (£1060)</span></li>
                    <li><img src="images/The_Wellington.jpg" alt="Wellington" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Wellington_copy.jpg','','toolbar=yes,width=800,heigh t=400')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_11" onclick="Recalculate()" type="radio" value="2160" />
                      <span class="estimatorsmalltext">The Wellington (£2160)</span></li>
                    <li><img src="images/The_Victoria.jpg" alt="Victoria" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Victoria_copy.jpg','','toolbar=yes,width=800,height= 400')">   </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_10" onclick="Recalculate()" type="radio" value="1060" />
                      <span class="estimatorsmalltext">The Victoria (£1060)</span></li>
                    <li><img src="images/colourful.jpg" alt="Colourful" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/colourfulcopy.jpg','','toolbar=yes,width=800,height=400' )">  </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_13" onclick="Recalculate()" type="radio" value="660" />
                      <span class="estimatorsmalltext"> The Colourful (£660)</span></li>
                    <li><img src="images/The_Nightingale.jpg" alt="Nightingale" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Nightingale_copy.jpg','','toolbar=yes,width=800,heig ht=400')"> </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_8" onclick="Recalculate()" type="radio" value="630" />
                      <span class="estimatorsmalltext">The Nightingale (£630)</span></li>
                    <li><img src="images/The_Pankhurst.jpg" alt="Pankhurst" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Pankhurst_copy.jpg','','toolbar=yes,width=800,height =400')">   </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_9" onclick="Recalculate()" type="radio" value="610" />
                      <span class="estimatorsmalltext">The Pankhurst (£610)</span></li>
                    <li><img src="images/The_Montgomery.jpg" alt="Montgomery" class="coffinpic" width="150" height="68" onClick="MM_openBrWindow('images/The_Montgomery_copy.jpg','','toolbar=yes,width=800,heigh t=400')">  </li>
                    <li>
                      <input name="CAT_Custom_76926" id="CAT_Custom_76926_6" onclick="Recalculate()" type="radio" value="2260" />
                      <span class="estimatorsmalltext">The Montgomery (£2260)</span></li>
                  </ul>

  • Help sought with W3C Validation issue

    In order to place text from a database accurately in a cell I have used:
    <span class="cont_layer">
    <?php echo $row_restSelect['cel_blb'];  // Insert Details from dbase ?>
    </span>
    However, I am using tinyMCE at the input interface for the MYSQL database and tinyMCE puts in tags like <p> all over the place, so the output looks something like this:
    <span class="cont_layer"><p>Some text.<br /> Some more text. <br /> <br /> And a bit more text.</p></span>
    This works fine in practice, but I notice that W3C Validation rejects the structure with:
    "document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag"
    I am using XHTML Transitional.
    Is there a way around this, or should I just stop being so anal about validation?

    A <span> is for inline elements and cannot contain block-level elements, such as paragraphs. Replace your <span> with a <div> and all will be hunky-dory.
    <div class="cont_layer">
    <?php echo $row_restSelect['cel_blb'];  // Insert Details from dbase ?>
    </div>

  • Sliceing in PS CS2 en coding W3C valid

    Hey guys,
    I'va just made a layout in PS CS2 and sliced it in ImageReady.
    Does somebody know any tutorials or can somebody explane me with examples how i can get the layout W3C valid in (X)HTML??.
    Greetz
    Pieter

    ok, sorry - this forum is really not that user friendly... but at least the moderators are more polite

  • Claims Based Authentication SPSecurityTokenService.Issue() failed: The security token username and password could not be validated.

    Please excuse the lousy table...Its late :-)
    I have a multi-server SP2010 farm.  Patched up to
    Configuration database version: 14.0.6106.5002
    My goal is to have a claims based web application that authenticated to ADAM for Extranet.  I have configured the servers exactly to MSDN and technet specs (following this spec to the
    letter (
    http://technet.microsoft.com/en-us/library/ee806882.aspx) to allow the forms side of the web app to authenticate to ADAM.
    IT WORKS IN DEV!!! , which is a single server farm.  However, it does not work in production.  I get the following:
    Claims Auth log entries:
    1:06:25 AM
    w3wp.exe (0x0EDC)                      
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    f2ut
    Verbose
    Authenticated with login provider. Validating request security token.
    1:06:25 AM
    w3wp.exe (0x0EDC)                      
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    0
    Verbose
    Using membership provider 'ADAMProvider'.
    1:06:25 AM
    w3wp.exe (0x0EDC)                      
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    0
    Verbose
    Doing password check on '[email protected]'.
    1:06:46 AM
    w3wp.exe (0x0EDC)                      
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    0
    Verbose
    Failed password check on '[email protected]'.
    1:06:46 AM
    w3wp.exe (0x0EDC)               
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    0
    Unexpected
    Password check on '[email protected]' generated exception: 'System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security
    token username and password could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException: The security token username and password could not be validated.).'.
    1:06:46 AM
    w3wp.exe (0x0EDC)                      
    0x1790
    SharePoint Foundation        
    Claims Authentication        
    fo1t
    Monitorable
    SPSecurityTokenService.Issue() failed: System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security token username and password
    could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException: The security token username and password could not be validated.).
    1:06:46 AM
    w3wp.exe (0x1B34)                      
    0x08A0
    SharePoint Foundation        
    Claims Authentication        
    fsq7
    High   
    Request for security token failed with exception: System.ServiceModel.FaultException: The security token username and password could not be validated.    
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response)    
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)  
      at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst)    
    at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo)
    1:06:46 AM
    w3wp.exe (0x1B34)                      
    0x08A0
    SharePoint Foundation        
    Claims Authentication        
    8306
    Critical
    An exception occurred when trying to issue security token: The security token username and password could not be validated..
    1:06:46 AM
    w3wp.exe (0x1B34)                      
    0x08A0
    SharePoint Foundation        
    Claims Authentication        
    f2un
    Verbose
    Form authentication failed.
    I have tried EVERYTHING (well, nt everything, I don’t have the fix I suppose). 
     I found plenty out there and nothing directly correlates with this issue. 
    I searched on all parts of the errors I got.
    This contains an interesting blurb about setting up access for the apppool id correctly. 
    That’s not the case for me.  It works in dev and the same id are used there. 
    http://sharepoint-2010-world.blogspot.com/2011/03/adam-forms-based-authentication-in.html
    This was good but it doesn’t give specs on what the environment looks like:
    http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/557143a6-4b36-4939-bb7f-d62a9335fd18
    The was interesting…but I am patched up beyond the June 2011 CU so it’s a moot point:
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/9b8368ef-c5e5-4ead-b348-7b2b5587cfc8
    Any and all help would be greatly appreciated!

    Hi.
    You say its a multiserver farm, do you have more than one web server then?
    If thats the case, have you tried accessing the site on each server directly?
    Found this for you, maybe that can help?
    Troubleshooting Exceptions: System.ServiceModel.FaultException`1
    http://msdn.microsoft.com/en-us/library/bb907220.aspx
    and this:
    SharePoint 2010 Claims Authentication - The security token username and password could not be validated reoccurring every morning
    http://social.technet.microsoft.com/Forums/pl-PL/sharepoint2010setup/thread/383f1f9b-5c4a-4e19-b770-2a54b7ab1ca1
    and
    This seems to be a good guide:
    http://donalconlon.wordpress.com/2010/02/23/configuring-forms-base-authentication-for-sharepoint-2010-using-iis7/
    Good luck
    Thomas Balkeståhl - Technical Specialist - SharePoint - http://blksthl.wordpress.com

  • While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette

    Just updated firefox. While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette." Tried to download and install new firefox, but it alway show that the file is corrupt
    == Today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Query with error: ORA-01843: not a valid month

    Hi,
    I have a problem with a query. I have modified a query that before worked but not now!
    The correct original query was:
    SELECT  rtrim('Cambio di: '
            || (CASE WHEN nvl(A.CODICE_EMITTENTE ,' ') <> nvl(B.CODICE_EMITTENTE ,' ') THEN 'Codice emittente, ' ELSE '' END)
            || (CASE WHEN nvl(A.DESCRIZIONE_TITOLO,' ') <> nvl(B.DESCRIZIONE_TITOLO,' ') THEN 'Descrizione titolo, ' ELSE '' END)
            || (CASE WHEN nvl(A.SOTTOSTANTE,' ') <> nvl(B.SOTTOSTANTE,' ') THEN 'Sottostante, ' ELSE '' END)
            || (CASE WHEN nvl(A.TIPO_SOTTOSTANTE, ' ') <> nvl(B.TIPO_SOTTOSTANTE,' ') THEN 'Tipo sottostante, ' ELSE '' END)
            || (CASE WHEN nvl(A.CEDOLA_LORDA_CORRENTE, 0) <> nvl(B.CEDOLA_LORDA_CORRENTE, 0) THEN 'Cedola lorda corrente, ' ELSE '' END)
            || (CASE WHEN nvl(A.FREQUENZA_CEDOLA, ' ') <> nvl(B.FREQUENZA_CEDOLA, ' ') THEN 'Frequenza cedola, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') <> nvl(B.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') THEN 'Data inizio facoltà call, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') <> nvl(B.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') THEN 'Data fine facoltà call, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') <> nvl(B.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') THEN 'Data inizio facoltà put, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') <> nvl(B.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') THEN 'Data fine facoltà put, ' ELSE '' END)
            || (CASE WHEN nvl(A.AMMONTARE_EMESSO, 0) <> nvl(B.AMMONTARE_EMESSO, 0) THEN 'Ammontare emesso, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_PRIMO_GODIMENTO, '31-Dec-2999') <> nvl(B.DATA_PRIMO_GODIMENTO, '31-Dec-2999') THEN 'Data primo godimento, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_SCADENZA, '31-Dec-2999') <> nvl(B.DATA_SCADENZA, '31-Dec-2999') THEN 'Data scadenza, ' ELSE '' END)
            || (CASE WHEN nvl(A.PRIMO_PREZZO_EMISSIONE, 0) <> nvl(B.PRIMO_PREZZO_EMISSIONE, 0) THEN 'Primo prezzo di emissione, ' ELSE '' END)
            || (CASE WHEN nvl(A.MODALITA_RIMBORSO, 0) <> nvl(B.MODALITA_RIMBORSO, 0) THEN 'Modalità rimborso, ' ELSE '' END)
            || (CASE WHEN nvl(A.SUBORDINAZIONE, ' ') <> nvl(B.SUBORDINAZIONE, ' ') THEN 'Subordinazione, ' ELSE '' END)
            || (CASE WHEN nvl(A.DIV_EMIS_CODE, 0) <> nvl(B.DIV_EMIS_CODE, 0) THEN 'Codice divisa di emissione, ' ELSE '' END)
            || (CASE WHEN nvl(A.DIV_EMIS, ' ') <> nvl(B.DIV_EMIS, ' ') THEN 'Divisa di emissione, ' ELSE '' END)
            ,', ') TIPO_VARIAZIONE,
           A.ISICOD ,
           A.CODICE_EMITTENTE AS EMIT_COD_T, B.CODICE_EMITTENTE AS EMIT_COD_T1, 
           A.DESCRIZIONE_TITOLO AS DESC_TITOLO_T, B.DESCRIZIONE_TITOLO AS DESC_TITOLO_T1,
           A.SOTTOSTANTE AS SOTTOSTANTE_T, B.SOTTOSTANTE AS SOTTOSTANTE_T1,
           A.TIPO_SOTTOSTANTE AS TIPO_SOTTOSTANTE_T, B.TIPO_SOTTOSTANTE AS TIPO_SOTTOSTANTE_T1,
           A.CEDOLA_LORDA_CORRENTE AS CEDOLA_LORDA_CORRENTE_T, B.CEDOLA_LORDA_CORRENTE AS CEDOLA_LORDA_CORRENTE_T1,
           A.FREQUENZA_CEDOLA AS FREQUENZA_CEDOLA_T, B.FREQUENZA_CEDOLA AS FREQUENZA_CEDOLA_T1,
           A.DATA_INIZIO_FACOLTA_CALL AS DATA_INIZIO_FACOLTA_CALL_T, B.DATA_INIZIO_FACOLTA_CALL AS DATA_INIZIO_FACOLTA_CALL_T1,
           A.DATA_FINE_FACOLTA_CALL AS DATA_FINE_FACOLTA_CALL_T, B.DATA_FINE_FACOLTA_CALL AS DATA_FINE_FACOLTA_CALL_T1,
           A.DATA_INIZIO_FACOLTA_PUT AS DATA_INIZIO_FACOLTA_PUT_T, B.DATA_INIZIO_FACOLTA_PUT AS DATA_INIZIO_FACOLTA_PUT_T1,
           A.DATA_FINE_FACOLTA_PUT AS DATA_FINE_FACOLTA_PUT_T, B.DATA_FINE_FACOLTA_PUT AS DATA_FINE_FACOLTA_PUT_T1,
           A.AMMONTARE_EMESSO AS AMMONTARE_EMESSO_T, B.AMMONTARE_EMESSO AS AMMONTARE_EMESSO_T1,
           A.DATA_PRIMO_GODIMENTO AS DATA_PRIMO_GODIMENTO_T,  B.DATA_PRIMO_GODIMENTO AS DATA_PRIMO_GODIMENTO_T1,
           A.DATA_SCADENZA AS DATA_SCADENZA_T, B.DATA_SCADENZA AS DATA_SCADENZA_T1,
           A.PRIMO_PREZZO_EMISSIONE AS PRIMO_PREZZO_EMISSIONE_T, B.PRIMO_PREZZO_EMISSIONE AS PRIMO_PREZZO_EMISSIONE_T1,
           A.MODALITA_RIMBORSO AS MODALITA_RIMBORSO_T, B.MODALITA_RIMBORSO AS MODALITA_RIMBORSO_T1,
           A.SUBORDINAZIONE AS SUBORDINAZIONE_T, B.SUBORDINAZIONE AS SUBORDINAZIONE_T1,
           A.DIV_EMIS_CODE AS DIV_EMIS_CODE_T, B.DIV_EMIS_CODE AS DIV_EMIS_CODE_T1,
           A.DIV_EMIS AS DIV_EMIS_T, B.DIV_EMIS AS DIV_EMIS_T1,
           A.START_DATE AS DATA_AGG_T, B.START_DATE AS DATA_AGG_T1
    FROM SPR_KLERS_ISD A, SPR_KLERS_ISD B
    WHERE A.START_DATE=TRUNC(SYSDATE)
          AND A.ISICOD=B.ISICOD
          AND B.START_DATE = decode(trim(to_char(sysdate, 'Day')), 'Monday',trunc(sysdate-3), trunc(sysdate-1))
          AND (nvl(A.CODICE_EMITTENTE,' ') != nvl(B.CODICE_EMITTENTE,' ')
            OR
            nvl(A.DESCRIZIONE_TITOLO,' ') != nvl(B.DESCRIZIONE_TITOLO,' ')
            OR
            nvl(A.SOTTOSTANTE,' ') != nvl(B.SOTTOSTANTE,' ')
            OR
            nvl(A.TIPO_SOTTOSTANTE, ' ') != nvl(B.TIPO_SOTTOSTANTE,' ')
            OR
            nvl(A.CEDOLA_LORDA_CORRENTE, 0) != nvl(B.CEDOLA_LORDA_CORRENTE, 0)
            OR
            nvl(A.FREQUENZA_CEDOLA, ' ') != nvl(B.FREQUENZA_CEDOLA, ' ')
            OR
            nvl(A.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999')
            OR
            nvl(A.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_CALL, '31-Dec-2999')
            OR
            nvl(A.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999')
            OR
            nvl(A.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_PUT,'31-Dec-2999')
            OR
            nvl(A.AMMONTARE_EMESSO, 0) != nvl(B.AMMONTARE_EMESSO, 0)
            OR
            nvl(A.DATA_PRIMO_GODIMENTO, '31-Dec-2999') != nvl(B.DATA_PRIMO_GODIMENTO, '31-Dec-2999')
            OR
            nvl(A.DATA_SCADENZA, '31-Dec-2999') != nvl(B.DATA_SCADENZA, '31-Dec-2999')
            OR
            nvl(A.PRIMO_PREZZO_EMISSIONE, 0) != nvl(B.PRIMO_PREZZO_EMISSIONE, 0)
            OR
            nvl(A.MODALITA_RIMBORSO, 0) != nvl(B.MODALITA_RIMBORSO, 0)
            OR
            nvl(A.SUBORDINAZIONE, ' ') != nvl(B.SUBORDINAZIONE, ' ')
            OR
            nvl(A.DIV_EMIS_CODE, 0) != nvl(B.DIV_EMIS_CODE, 0)
            OR
            nvl(A.DIV_EMIS, ' ') != nvl(B.DIV_EMIS, ' '))The new query that not works is:
    SELECT  rtrim('Cambio di: '
            || (CASE WHEN nvl(A.CODICE_EMITTENTE ,' ') <> nvl(B.CODICE_EMITTENTE ,' ') THEN 'Codice emittente, ' ELSE '' END)
            || (CASE WHEN nvl(A.DESCRIZIONE_TITOLO,' ') <> nvl(B.DESCRIZIONE_TITOLO,' ') THEN 'Descrizione titolo, ' ELSE '' END)
            || (CASE WHEN nvl(A.SOTTOSTANTE,' ') <> nvl(B.SOTTOSTANTE,' ') THEN 'Sottostante, ' ELSE '' END)
            || (CASE WHEN nvl(A.TIPO_SOTTOSTANTE, ' ') <> nvl(B.TIPO_SOTTOSTANTE,' ') THEN 'Tipo sottostante, ' ELSE '' END)
            || (CASE WHEN nvl(A.CEDOLA_LORDA_CORRENTE, 0) <> nvl(B.CEDOLA_LORDA_CORRENTE, 0) THEN 'Cedola lorda corrente, ' ELSE '' END)
            || (CASE WHEN nvl(A.FREQUENZA_CEDOLA, ' ') <> nvl(B.FREQUENZA_CEDOLA, ' ') THEN 'Frequenza cedola, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') <> nvl(B.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') THEN 'Data inizio facoltà call, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') <> nvl(B.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') THEN 'Data fine facoltà call, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') <> nvl(B.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') THEN 'Data inizio facoltà put, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') <> nvl(B.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') THEN 'Data fine facoltà put, ' ELSE '' END)
            || (CASE WHEN nvl(A.AMMONTARE_EMESSO, 0) <> nvl(B.AMMONTARE_EMESSO, 0) THEN 'Ammontare emesso, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_PRIMO_GODIMENTO, '31-Dec-2999') <> nvl(B.DATA_PRIMO_GODIMENTO, '31-Dec-2999') THEN 'Data primo godimento, ' ELSE '' END)
            || (CASE WHEN nvl(A.DATA_SCADENZA, '31-Dec-2999') <> nvl(B.DATA_SCADENZA, '31-Dec-2999') THEN 'Data scadenza, ' ELSE '' END)
            || (CASE WHEN nvl(A.PRIMO_PREZZO_EMISSIONE, 0) <> nvl(B.PRIMO_PREZZO_EMISSIONE, 0) THEN 'Primo prezzo di emissione, ' ELSE '' END)
            || (CASE WHEN nvl(A.MODALITA_RIMBORSO, 0) <> nvl(B.MODALITA_RIMBORSO, 0) THEN 'Modalità rimborso, ' ELSE '' END)
            || (CASE WHEN nvl(A.SUBORDINAZIONE, ' ') <> nvl(B.SUBORDINAZIONE, ' ') THEN 'Subordinazione, ' ELSE '' END)
            || (CASE WHEN nvl(A.DIV_EMIS_CODE, 0) <> nvl(B.DIV_EMIS_CODE, 0) THEN 'Codice divisa di emissione, ' ELSE '' END)
            || (CASE WHEN nvl(A.DIV_EMIS, ' ') <> nvl(B.DIV_EMIS, ' ') THEN 'Divisa di emissione, ' ELSE '' END)
            ,', ') TIPO_VARIAZIONE,
           A.ISICOD ,
           A.CODICE_EMITTENTE AS EMIT_COD_T, B.CODICE_EMITTENTE AS EMIT_COD_T1, 
           A.DESCRIZIONE_TITOLO AS DESC_TITOLO_T, B.DESCRIZIONE_TITOLO AS DESC_TITOLO_T1,
           A.SOTTOSTANTE AS SOTTOSTANTE_T, B.SOTTOSTANTE AS SOTTOSTANTE_T1,
           A.TIPO_SOTTOSTANTE AS TIPO_SOTTOSTANTE_T, B.TIPO_SOTTOSTANTE AS TIPO_SOTTOSTANTE_T1,
           A.CEDOLA_LORDA_CORRENTE AS CEDOLA_LORDA_CORRENTE_T, B.CEDOLA_LORDA_CORRENTE AS CEDOLA_LORDA_CORRENTE_T1,
           A.FREQUENZA_CEDOLA AS FREQUENZA_CEDOLA_T, B.FREQUENZA_CEDOLA AS FREQUENZA_CEDOLA_T1,
           A.DATA_INIZIO_FACOLTA_CALL AS DATA_INIZIO_FACOLTA_CALL_T, B.DATA_INIZIO_FACOLTA_CALL AS DATA_INIZIO_FACOLTA_CALL_T1,
           A.DATA_FINE_FACOLTA_CALL AS DATA_FINE_FACOLTA_CALL_T, B.DATA_FINE_FACOLTA_CALL AS DATA_FINE_FACOLTA_CALL_T1,
           A.DATA_INIZIO_FACOLTA_PUT AS DATA_INIZIO_FACOLTA_PUT_T, B.DATA_INIZIO_FACOLTA_PUT AS DATA_INIZIO_FACOLTA_PUT_T1,
           A.DATA_FINE_FACOLTA_PUT AS DATA_FINE_FACOLTA_PUT_T, B.DATA_FINE_FACOLTA_PUT AS DATA_FINE_FACOLTA_PUT_T1,
           A.AMMONTARE_EMESSO AS AMMONTARE_EMESSO_T, B.AMMONTARE_EMESSO AS AMMONTARE_EMESSO_T1,
           A.DATA_PRIMO_GODIMENTO AS DATA_PRIMO_GODIMENTO_T,  B.DATA_PRIMO_GODIMENTO AS DATA_PRIMO_GODIMENTO_T1,
           A.DATA_SCADENZA AS DATA_SCADENZA_T, B.DATA_SCADENZA AS DATA_SCADENZA_T1,
           A.PRIMO_PREZZO_EMISSIONE AS PRIMO_PREZZO_EMISSIONE_T, B.PRIMO_PREZZO_EMISSIONE AS PRIMO_PREZZO_EMISSIONE_T1,
           A.MODALITA_RIMBORSO AS MODALITA_RIMBORSO_T, B.MODALITA_RIMBORSO AS MODALITA_RIMBORSO_T1,
           A.SUBORDINAZIONE AS SUBORDINAZIONE_T, B.SUBORDINAZIONE AS SUBORDINAZIONE_T1,
           A.DIV_EMIS_CODE AS DIV_EMIS_CODE_T, B.DIV_EMIS_CODE AS DIV_EMIS_CODE_T1,
           A.DIV_EMIS AS DIV_EMIS_T, B.DIV_EMIS AS DIV_EMIS_T1,
           A.START_DATE AS DATA_AGG_T, B.START_DATE AS DATA_AGG_T1
    FROM SPR_KLERS_ISD A, SPR_KLERS_ISD B
    WHERE A.START_DATE=TRUNC(SYSDATE)
          AND A.ISICOD=B.ISICOD
          AND B.END_DATE = TRUNC(SYSDATE)
          AND (nvl(A.CODICE_EMITTENTE,' ') != nvl(B.CODICE_EMITTENTE,' ')
            OR
            nvl(A.DESCRIZIONE_TITOLO,' ') != nvl(B.DESCRIZIONE_TITOLO,' ')
            OR
            nvl(A.SOTTOSTANTE,' ') != nvl(B.SOTTOSTANTE,' ')
            OR
            nvl(A.TIPO_SOTTOSTANTE, ' ') != nvl(B.TIPO_SOTTOSTANTE,' ')
            OR
            nvl(A.CEDOLA_LORDA_CORRENTE, 0) != nvl(B.CEDOLA_LORDA_CORRENTE, 0)
            OR
            nvl(A.FREQUENZA_CEDOLA, ' ') != nvl(B.FREQUENZA_CEDOLA, ' ')
            OR
            nvl(A.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999')
            OR
            nvl(A.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_CALL, '31-Dec-2999')
            OR
            nvl(A.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999')
            OR
            nvl(A.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_PUT,'31-Dec-2999')
            OR
            nvl(A.AMMONTARE_EMESSO, 0) != nvl(B.AMMONTARE_EMESSO, 0)
            OR
            nvl(A.DATA_PRIMO_GODIMENTO, '31-Dec-2999') != nvl(B.DATA_PRIMO_GODIMENTO, '31-Dec-2999')
            OR
            nvl(A.DATA_SCADENZA, '31-Dec-2999') != nvl(B.DATA_SCADENZA, '31-Dec-2999')
            OR
            nvl(A.PRIMO_PREZZO_EMISSIONE, 0) != nvl(B.PRIMO_PREZZO_EMISSIONE, 0)
            OR
            nvl(A.MODALITA_RIMBORSO, 0) != nvl(B.MODALITA_RIMBORSO, 0)
            OR
            nvl(A.SUBORDINAZIONE, ' ') != nvl(B.SUBORDINAZIONE, ' ')
            OR
            nvl(A.DIV_EMIS_CODE, 0) != nvl(B.DIV_EMIS_CODE, 0)
            OR
            nvl(A.DIV_EMIS, ' ') != nvl(B.DIV_EMIS, ' '))where I have changed only this:
    B.START_DATE = decode(trim(to_char(sysdate, 'Day')), 'Monday',trunc(sysdate-3), trunc(sysdate-1)) --------->AND B.END_DATE = TRUNC(SYSDATE)
    Both START_DATE and END_DATE are date filds.
    When I execute the second query I receive this:
    ORA-01843: not a valid monthin many ponts of the query that change every time I execute the query, why this behaviour?
    How can I solve?
    Thanks, bye bye.

    Could you execute the following query and post the output.
    select * from nls_session_parameters where parameter = 'NLS_DATE_FORMAT';
    select sysdate from dual;Also what are the datatypes for these columns
    >
    nvl(A.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_CALL, '31-Dec-2999')
    OR
    nvl(A.DATA_FINE_FACOLTA_CALL, '31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_CALL, '31-Dec-2999')
    OR
    nvl(A.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_INIZIO_FACOLTA_PUT,'31-Dec-2999')
    OR
    nvl(A.DATA_FINE_FACOLTA_PUT,'31-Dec-2999') != nvl(B.DATA_FINE_FACOLTA_PUT,'31-Dec-2999')
    OR
    nvl(A.AMMONTARE_EMESSO, 0) != nvl(B.AMMONTARE_EMESSO, 0)
    OR
    nvl(A.DATA_PRIMO_GODIMENTO, '31-Dec-2999') != nvl(B.DATA_PRIMO_GODIMENTO, '31-Dec-2999')
    OR
    nvl(A.DATA_SCADENZA, '31-Dec-2999') != nvl(B.DATA_SCADENZA, '31-Dec-2999')
    >
    I hope you know anything given in single quotes is a string and not a date.
    Regards
    Raj

  • Date error ORA-01843: not a valid month

    Hi,
    I am in a 4.01 Apex environment with NLS_DATE_FORMAT     mm/dd/yyyy. I created a view with a CASE statements using 'when eventstartdate between '08/15/2010' and '06/1/2011' then...' clauses and the view is created fine. I also can query the view with no problem with SQL workshop and the CASE statements work as expected. When I create an interactive report on that view I keep getting ORA-01843: not a valid month. I even tried matching the format in the Interactive Report column format mask to the NLS format for the date and still get error.
    What seems especially strange to me is that even if I have the view column defined with a 'to_char' I still get the same error when I use the CASE statement to build the view. Doesn't the Interactive Report just 'see' the View column definitions-- why should it 'care' how the view was built?
    The only way I can get the View to work with an Interactive report in any manner is to remove all the CASE statements and define the 'eventstartdate' as text using to_char but that then eliminates my ability to do any filters that require date comparisons with between or '>', '<'.
    Help would be appreciated!
    Thanks,
    Pat

    Quick late night response - always convert your dates for comparison. Apples to apples
    Instead of between '01/31/2012', use either
    TO_DATE('01/31/2012', 'MM/DD/YYYY')or
    DATE '2012-01-31'More related info
    http://www.grassroots-oracle.com/2011/03/date-format-tolerance.html
    Sorry if I'm off target, thought it may help

Maybe you are looking for