W3C validation... Stray end tag img

How to fix these w3c html errors?
Bad value X-UA-Compatible for attribute http-equiv on element meta.
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8"/>
Stray end tag img.
…" src="edgeanimate_assets/test/images/test.png"></img> </div>
Thanks

Hey, IronADDT-
I was able to reproduce this bug and just filed it to be fixed in the next release.  In the meantime, if you're required to be W3C compliant, the only way you can get around it is to hand-edit your HTML file after you've published.
Thanks,
-Elaine

Similar Messages

  • 1 hard validation error left and I will be w3c validated.  Its a tr ending problem.  Very hard!

    Just recently i started to validate the script for html 4.01 strict and ran into a hard coding problem..
    On the home.html
    A line of code says
    </td>
    {if ($smarty.foreach.videos.index+1)%$cols==0}</tr><tr>{/if}
    {/foreach}
    </tr></table>
    <br>
    {$pagination}
    This code throws a validation error  on line  645 which says this
    Line 645, Column 7: end tag for "TR" which is not finished
    Line 642 through 645 say this on html source when grabbing the source code from my website
    </table>
    </td>
    </tr><tr>
    </tr></table>
    I think that the problem may be that its blank between a <tr> and </tr>, but i am not sure how to fix this or if this is even the problem.  The coding above generates the </tr><tr> and it's generated an extra one for no reason.

    I solved it.
    I realized that, because it was generating <tr> and then trying to close </tr> </table> I had to place  <td> </td> in between them.  A simple fix yet it took me a while to figure that out lol.  I guess you can easily overlook something like this easily when you didn't write all of it.
    Mark

  • Search function in DW to flag stray /div tags?

    This seems like a very basic question, but searching the site, the discussion threads, and the FAQs didn't produce any answers. Does Dreamweaver have a search function -- or an alternative Validate function for CSS -- to pick up stray </div> tags? I've got a page with one </div> too many or too few, doubtless due to a slight selection oversight on a copy/paste I made from another source. The page is rendering with elements flopping into the wrong places, or disapperaing entirely, so I'm sure it's an odd </div> somewhere; but I'm just not up to eyeballing 500 lines of code right now, trying to figure out where there's an imbalance in <div> and </div> pairs. It seems like a natural job for automation. Thanks.

    Use the W3C Validation tools.
    HTML - http://validator.w3.org/
    I find it helps to insert HTML comments around Divisions.
    <!--Begin DivName-->
    <div id="DivName>
    <!--end DivName-->
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Need help... Context validation error for tag cfscript.

    Code:
        <cffunction name="computeHash" access="public" returntype="String">
          <cfargument name="password" type="string" />
          <cfargument name="salt" type="string" />
          <cfargument name="iterations" type="numeric" required="false" default="1024" />
          <cfargument name="algorithm" type="string" required="false" default="SHA512" />
          <cfscript>
            var hashed = '';
            var i = 1;
            hashed = hash( password & salt, arguments.algorithm, 'UTF-8' );
            for (i = 1; i <= iterations; i++) {
              hashed = hash( hashed & salt, arguments.algorithm, 'UTF-8' );
            return hashed;
          </cfscript>
        </cffunction>
    Error on web app:
    Context  validation error for tag cfscript.
    The start tag must have a matching  end tag. An explicit end tag can be provided by adding </cfscript>. If the  body of the tag is empty you can use the shortcut <cfscript .../>. The CFML compiler was processing:
    a cfscript tag beginning on line 11, column 12.
    a cfscript tag beginning on line 11, column 12.
    The  error occurred in xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\salty.cfc: line  11
    9 :        <cfargument name="iterations" type="numeric" required="false" default="1024" />
    10 :        <cfargument name="algorithm" type="string" required="false" default="SHA512" />
    11 :        <cfscript>
    12 :           var hashed = '';
    13 :           var i = 1;
    I am completely lost on why it's fumbling with why it says there's no closing tag.  Help!!!!
    Thanks

    What's on lines 1-7 of that file?
    That code compiles fine for me on CF8 & CF9, so that's not where the error is.
    You're not trying to compile it on any earlier version of CF than CF8 are you?  The < and ++ operators are not valid prior to CF8.  CFMX7 might see the < as a stray angle bracket, and get confused.  I don't have CFMX7 running here to test the exact error that would produce, sorry.
    Adam

  • 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
    >
    >

  • End tag unbalanced.......mah...help me..

    org.apache.jasper.JasperException: /pages/Login.jsp(85,2) The end tag "</f:view" is unbalanced
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:134)
         org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1706)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1561)
         org.apache.jasper.compiler.Parser.parseBody(Parser.java:1789)
         org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1367)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
         org.apache.jasper.compiler.Parser.parseBody(Parser.java:1789)
         org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1367)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)This is my Login.jsp
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <f:view>
        <html>
          <head>
            <title>
              <h:outputText value="ProjectTrack"/>
            </title>
            <link rel="stylesheet" type="text/css" href="stylesheet.css"/>
            <script language="JavaScript">
               function set_image(button, img)
               button.src = img;
            </script>
          </head>
          <body>
            <h:form>
              <h:panelGrid columns="2" border="0" cellpadding="3" cellspacing="3">
                <h:graphicImage url="/images/logo.gif" alt="Welcome to ProjectTrack"
                 title="Welcome to ProjectTrack" width="149" height="160"/>
                <h:panelGrid columns="3" border="0" cellpadding="5" cellspacing="3"
                 headerClass="login-heading">
                  <f:facet name="header">
                    <h:outputText value="ProjectTrack" />
                  </f:facet>
                  <h:outputLabel for="userNameInput">
                    <h:outputText value="Enter your user name:"/>
                  </h:outputLabel>
                  <h:inputText id="userNameInput" size="20" maxlength="30"
                   required="true">
                    <f:validateLength minimum="5" maximum="30"/>
                  </h:inputText>
                  <h:message for="userNameInput" styleClass="errors"/>
                  <h:outputLabel for="passwordInput">
                    <h:outputText value="Password:"/>
                  </h:outputLabel>
                  <h:inputSecret id="passwordInput" size="20" maxlength="20"
                   required="true">
                    <f:validateLength minimum="5" maximum="15"/>
                  </h:inputSecret>
                  <h:message for="passwordInput" styleClass="errors"/>
                  <h:outputLabel for="groupInput">
                    <h:outputText value="Enter your user group:"/>
                  </h:outputLabel>
                  <h:inputText id="gorupInput" size="20" maxlength="30"
                   required="true">
                    <f:validateLength minimum="5" maximum="30"/>
                  </h:inputText>
                  <h:message for="groupInput" styleClass="errors"/>
                  <h:panelGroup/>
                  <h:commandButton action="Ok" title="Submit"image="#{facesContext.externalContext.requestContextPath}/images/submit.gif"
                   onmouseover="set_image(this,
                   '#{facesContext.externalContext.requestContextPath}/images/submit_over.gif')"
                   onmouseout="set_image(this,
                   '#{facesContext.externalContext.requestContextPath}/images/submit.gif');"/>
                  <h:panelGroup/>
                </h:panelGrid>
              </h:panelGrid>
          </body>
        </html>
      </f:view>

    Another error is that
    <h:inputText id="gorupInput" size="20" maxlength="30"
    required="true">
    Look at the id. It should be:
    <h:inputText id="groupInput" size="20" maxlength="30"
    required="true">
    This is the Manning's example. Luck with that.

  • W3C validator and scripts inside body

    Hi all
    I'm just wondering if placing <script ...
    ></script>
    inside the body tag is considered invalid html (transitional
    4.01) ?
    I tried to validate a page and got dozens of errors that all
    point to things like:
    Line 37, Column 83: end tag for element "I" which is not
    open:
    ... your extension is</i> '+ext+'</p>';
    the html supposedly invalid is actually part of a javascript
    string in a js function. I don't
    understand how the validator thinks I am closing tags that I
    did not open. It's open somwehere else
    in the javascript function... And why does the validator try
    to validate html that's inside
    javascript functions?
    The validator however does NOT mention anything about the
    javascript being inside the body tag and
    not in the head.
    So I'm wondering what is going on.
    seb (@webtrans1.com)
    high-end web design:
    http://webtrans1.com
    Sign-up for a free beta test of SiteLander, an ingenious
    website-builder:
    http://webtrans1.com/sitelander/
    music:
    http://myspace.com/popmodelberlin

    Change this -
    var newHtml = '<p style="color:red"><i>Sorry,
    this file type is not
    supported:</i> '+ext+'</p>';
    to this -
    var newHtml = '<p style="color:red"><i>Sorry,
    this file type is not
    supported:<' + '/i> '+ext+'<' + '/p>';
    so that the closing tags are broken apart.
    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
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:[email protected]...
    > Murray *ACE* wrote:
    >>> I'm just wondering if placing <script ...
    ></script>
    >>> inside the body tag is considered invalid html
    (transitional 4.01) ?
    >>
    >> It's not.
    >>
    >>> Line 37, Column 83: end tag for element "I"
    which is not open:
    >>> ... your extension is</i>
    '+ext+'</p>';
    >>
    >> You have to be devious. Can you show us the whole
    function?
    >>
    >
    > here's the whole function -but I don't see how html
    inside javascript can
    > be relevant to the validator!
    >
    > <script type="text/javascript">
    > function updateGall(){// UPDATE IMAGE, CAPTION, AND
    NAVIGATION, DEPENDING
    > ON filenum
    > var extar=files[filenum].split(".");
    > var ext=extar[extar.length-1];
    > if(/^(jpe?g|gif|png)$/i.test(ext)){
    > var newHtml = '<img src="'+files[filenum]+'" alt=""
    id="mainImg">';
    > }else if(/^(mov|mpe?g|avi)$/i.test(ext)){
    > var newHtml = '<OBJECT
    > CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    WIDTH="320"
    > HEIGHT="256" CODEBASE="
    http://www.apple.com/qtactivex/qtplugin.cab"><PARAM
    > name="SRC" VALUE="'+files[filenum]+'"><PARAM
    name="SCALE"
    > VALUE="aspect"><embed src="'+files[filenum]+'"
    width="320" height="256"
    > scale="aspect"></embed></OBJECT>';
    > }else{
    > var newHtml = '<p
    style="color:red"><i>Sorry, this file type is not
    > supported:</i> '+ext+'</p>';
    > }
    > getId("fileDisplay").innerHTML=newHtml;
    > var o=getId("gallNav").getElementsByTagName("a");
    > for(var
    > i=0;i<o.length;i++){if(i==filenum){o
    .className="selected";}else{o.className="bla";}}
    > // image file without extension:
    > getId("caption").innerHTML=captions[filenum];
    > }
    > </script>
    >
    > The validator chokes on all the closing html tags
    > (</object>,</embed>,</p>,</i>)
    in this function, because these tags were
    > supposeldy never opened.
    >
    > ?...
    >
    > the actual page is here:
    >
    http://www.webtrans1.com/downloads/demos/image_gallery.php
    >
    > --
    > seb (@webtrans1.com)
    >
    > high-end web design:
    http://webtrans1.com
    >
    > Sign-up for a free beta test of SiteLander, an ingenious
    website-builder:
    >
    http://webtrans1.com/sitelander/
    >
    > music:
    http://myspace.com/popmodelberlin

  • Please help the end tag /c:if" is unbalanced

    Mar 27, 2008 12:33:57 PM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /WEB-INF/jsp/cwjsps/proregistration.jsp(61,0) The end tag "</c:if" is unbalanced
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:132)
         at org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1581)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:133)
         at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:65)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:80)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:284)
         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
         at org.apache.jasper.runtime.PageContextImpl.access$1000(PageContextImpl.java:71)
         at org.apache.jasper.runtime.PageContextImpl$11.run(PageContextImpl.java:652)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:650)
         at org.apache.jsp.WEB_002dINF.jsp.cwjsps.router_jsp._jspx_meth_c_005fif_005f3(router_jsp.java:299)
         at org.apache.jsp.WEB_002dINF.jsp.cwjsps.router_jsp._jspService(router_jsp.java:103)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:269)
         at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)

    boss the requirement is as such..thats why i am developing it this way..
    i am posting my debug.jsp(validation and exceptions), router.jsp(which forwards corresponding jsp pages based on success or failure), userregistration.jsp(jsp view), proregistration.jsp(process jsp )
    {code debug.jsp}
    <?xml version="1.0" encoding ="UTF-8"?>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <%-- \WEB-INF\jsp\cw\debug.jsp --%>
    <%-- debug include file --%>
    <c:if test ="${sessionScope.sessDebug == 'true'}">
    <table border="1">
    <c:forEach var="item" items="${cookie}">
    <tr>
    <td>inbound cookies</td>
    <td>${item.key}</td>
    <td>${item.value.value}</td> <%--note the .value.value--%>
    </tr>
    </c:forEach>
    <c:forEach var="item" items="${param}">
    <tr>
    <td>inbound parameter</td>
    <td>${item.key}</td>
    <td>${item.value}</td> <%--note the .value--%>
    </tr>
    </c:forEach>
    <c:forEach var="item" items="${requestScope}">
    <tr>
    <td>request scope object</td>
    <td>${item.key}</td>
    <td>${item.value.value}</td>
    </tr>
    </c:forEach>
    <c:forEach var="item" items="${sessionScope}">
    <tr>
    <td>session scope object</td>
    <td>${item.key}</td>
    <td>${item.value.value}</td>
    </tr>
    </c:forEach>
    </table>
    </c:if>
    {code router.jsp}
    <?xml version="1.0" encoding ="iso-8859-1"?>
    <%-- /WEB-INF/jsp/cwjsps/router.jsp --%>
    <%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="x"   uri="http://java.sun.com/jsp/jstl/xml" %>
    <%@ taglib prefix="fn"  uri="http://java.sun.com/jsp/jstl/functions" %>
    <%--  setup session if one does not exist --%>
    <%@ page session="true" %>
    <%-- set up debug variable --%>
    <c:set var="sessDebug" scope="session" value="true"/>
    <%-- get pathinfo information  from the request --%>
    <%-- this defines which use case has been requested --%>
    <c:set var="pgePathInfo" scope="page" value="${pageContext.request.pathInfo}" />
    <%-- uc02 : Login --%>
    <c:if test="${pageScope.pgePathInfo =='/home'}" >
    <jsp:forward page="/WEB-INF/jsp/cwjsps/home.jsp"/>
    </c:if>
    <c:if test="${pageScope.pgePathInfo =='/login'}" >
    <jsp:forward page="/WEB-INF/jsp/cwjsps/prologin.jsp"/>
    </c:if>
    <%-- uc01 : View Details Of Books For Sale --%>
    <c:if test="${pageScope.pgePathInfo =='/viewbooksforsale'}" >
    <jsp:forward page="/WEB-INF/jsp/cwjsps/probooksforsale.jsp"/>
    </c:if>
    <%-- uc01 : process User registration--%>
    <c:if test="${pageScope.pgePathInfo =='/userregistration'}" >
    <jsp:forward page="/WEB-INF/jsp/cwjsps/proregistration.jsp"/>
    </c:if>
    <%-- uc01 : debug --%>
    <c:if test="${pageScope.pgePathInfo =='/debug'}" >
    <jsp:forward page="/WEB-INF/jsp/cwjsps/debug.jsp"/>
    </c:if>
    <%-- otherwise --%>
    <jsp:forward page="/WEB-INF/jsp/cwjsps/home.jsp"/>{code userregistration.jsp}
    <?xml version="1.0" encoding ="UTF-8"?>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>Registeres USers Login Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <body>
    <%--debugging code--%>
    <%@ include file="debug.jsp" %>
    <table width="1049" cellpadding="5" align="center">
    <tr>
    <td width="2378"><div align="center">
    <h2 align="center"> User Registration</h2>
    <p>
         <c:url var="HmePgeURL" value="/cw/router/home" scope="page"/>
         Home  <c:url var='BSPgeURL' value='/cw/router/login' scope='page'/>
         Buy or Sell
         </p>
    </div></td>
    </tr>
    </table>
    <p align="center"> </p>
    <p>This website is only open to members of the De MontFort University.
    You will need a current @learner.dmu.ac.uk e-mail address in order to register.</p>
    <p> If you've already registered for one site you do not need to register again </p>
    <c:url value="/cw/router/userregistration" var="UregPgeURL" scope="page"/>
    <form name=frmregister method="post" action="${UregPgeURL}" >
    <div>
    <table width="726" height="285" border="0" align="left" cellpadding="2" cellspacing="0">
    <tr>
    <td width="157" align="right" >Name:</td>
    <td width="561" > <input name="txtname" type="text" value="${param.txtname}"/> </td>
    </tr>
    <c:if test="${!empty requestScope.reqInvalidUserName}">
    <c:out value="${requestScope.reqInvalidUserName}"/>
    </c:if>
    <tr>
    <td width="157" align="right" >Department</td>
    <td align="left" >
    <select name="txtdepartment" id="txtdepartment" value="${param.txtdepartment}" >
    <option></option>
    <option>Faculty of Art and Design</option>
    <option>Faculty of Business and Law</option>
    <option>Faculty of Computing Sciences and Engineering</option>
    <option>Faculty of Health and Life Sciences</option>
    <option>Faculty of Humanities</option>
    </select>
    </td>
    </tr>
    <tr>
    <td align="right" >Programme</td>
    <td ><input type="text" name="txtprogramme" value="${param.txtprogramme}" />
    (eg: BIS,SE) </td>
    </tr>
    <tr>
    <td align="right" >Telephone Number: </td>
    <td ><input name="txtphonenum" type="text" value="${param.txtphonenum}" /></td>
    </tr>
    <tr>
    <td align="right" >Date Of Birth: </td>
    <td ><input name="txtday" type="text" size="15" value="${param.txtdob}" />(of format YYYY-MM-DD)</td>
         </tr>
    <tr>
    <td align="right" >Username</td>
    <td align="left" >
    <input name="txtuserid" type="text" size="15" value="${param.txtuserid}" />
    (eg. p07269027 from [email protected])</td>
    <c:if test="${!empty requestScope.reqInvalidUserId}">
    <c:out value="${requestScope.reqInvalidUserId}"/>
    </c:if>
    </tr>
    <tr>
    <td align="right" >Password</td>
    <td align="left" >
    <input name="txtpassword" type="password" size="15" value="${param.txtpassword}" />
    </td></tr>
         <c:if test="${!empty requestScope.reqInvalidPassword}">
    <c:out value="${requestScope.reqInvalidPassword}"/>
    </c:if>
    <tr>
    <td align="right" >Confirm Password </td>
    <td align="left" >
    <input name="txtpasswordconf" type="password" size="15" />
    </td>
    </tr>
    <tr>
    <td colspan="2" align="center">
    <input name="frmsubmit" type="submit" value="Register User" />
    <input type="reset" name="Reset" value="Reset" />
    </td>
    </tr>
    </table>
         <c:if test="${!empty requestScope.reqQueryErrorMessage}">
    <c:out value="${requestScope.reqQueryErrorMessage}"/>
    </c:if>
         <c:if test="${!empty requestScope.reqInvalidUpdate}">
    <c:out value="${requestScope.reqInvalidUpdate}"/>
    </c:if>
    </div>     
    </form>
    </body>
    </html>
    {code proregistration.jsp}
    <?xml version="1.0" encoding ="UTF-8"?>
    <%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="x"   uri="http://java.sun.com/jsp/jstl/xml" %>
    <%@ taglib prefix="fn"  uri="http://java.sun.com/jsp/jstl/functions" %>
    <%-- \WEB-INF\jsp\cwjsps\probooksforsale.jsp --%>
    <%-- Probookforsale --%>
    <%-- skip field validation and provide blankpage if first time in --%>
    <c:if test="${empty sessionScope.mc07kpkDataSource}">
    <sql:setDataSource
    var="mc07kpkdbDataSource"
    driver="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost/mc07kpkdb"
    scope="session"
    user="mc07kpk_web"
    password="beGin+35"
    />
    </c:if>
    <c:if test="${empty param.frmsubmit}">
    <c:set var="reqOutcome" scope="request" value=" "/>
    <jsp:forward page="/WEB-INF/jsp/cwjsps/userregistration.jsp"/> <%-- initial request --%>
    </c:if>
    <%-- validate txtname --%>
    <c:if test="${empty param.txtname}">
    <c:set var="reqInvalidUserName" scope="request" value= "User Name Cannot Be Empty"/>
    </c:if>
    <%-- validate txtuserid --%>
    <c:if test="${empty param.txtuserid}">
    <c:set var="reqInvalidUserId" scope="request" value= "User ID Cannot Be Empty"/>
    </c:if>
    <%-- validate txtpassword--%>
    <c:if test="${empty param.txtpassword}">
    <c:set var="reqInvalidPassword" scope="request" value= "Password Cannot Be Empty"/>
    </c:if>
    <%-- if userid invalid or username invalid  --%>
    <%-- redisplay form with originl typed-in data and with errors marked --%>
    <c:if test="${empty param.txtname or empty param.txtuserid}">
    <c:set var="reqOutcome" scope="request" value= "failure" />
    <jsp:forward page="/WEB-INF/jsp/cwjsps/userregistration.jsp"/> <%-- failure --%>
    </c:if>
    <c:catch var="pgeQueryError">
    <sql:update var="pgeRowCount" scope="page" >
    <%-- insert details to trader table --%>
    INSERT into trader (dbTraderName,dbTraderDepartment,dbTraderProgramme,dbTraderPhoneNum ,dbTraderDOB,dbTraderPNumber,dbTraderPwd)
    VALUES (?,?,?,?,?,?,?,?)
    <sql:param value="${param.txtname}"/>
    <sql:param value="${param.txtdepartment}"/>
    <sql:param value="${param.txtprogramme}"/>
    <sql:param value="${param.txtphonenum}"/>
    <sql:param value="${param.txtdob}"/>
    <sql:param value="${param.txtuserid}"/>
    <sql:param value="${param.txtpassword}"/>
    </sql:update>
    </c:catch>
    <%-- check For query Error --%>
    <c:if test="${not empty pgeQueryError}">
    <c:choose>
    <%-- check duplicate record --%>
    <c:when test="${pgeQueryError.rootCause.errorCode =='1062'}">
    <c:set var="reqQueryErrorMessage" scope="request" value="User already Registered - Duplicate Record" />
    <jsp:forward page="/WEB-INF/jsp/cwjsps/login.jsp"/>
    </c:when>
    <c:otherwise>
    <%-- database error --%>
    <c:set var="reqQueryErrorMessage" scope="request" value="Database Error" />
    <jsp:forward page="/WEB-INF/jsp/cwjsps/userregistration.jsp"/>
    </c:otherwise>
    </c:choose>
    <c:set var="reqOutcome" scope="request" value="failure" />
    <jsp:forward page="/WEB-INF/jsp/cwjsps/userregistration.jsp"/>
    </c:if>
    <%-- check For no rows returned --%>
    <c:if test="${pgeRowCount !=1}">
    <c:set var="reqInvalidUpdate" scope="request" value="*** rowCount not = 1"/>
    <c:set var="reqOutcome" scope="request" value="failure"/>
    <jsp:forward page="/WEB-INF/jsp/cwjsps/userregistration.jsp"/> <%-- failure --%>
    </c:if>
    <%-- Otherwise --%>
    <%-- Outcome is success --%>
    <c:if test="${pgeRowCount ==1}">
    <c:set var="reqOutcome" scope="request" value="success" />
    <jsp:forward page="/WEB-INF/jsp/cwjsps/login.jsp"/> <%-- success --%>
    </c:if>

  • MM - Goods Receipt (MIGO) and Validity Period End (Contracts and PO)

    Hi Gurus,
    Within our PO process, I created a PO which references a contract. Both have a Validy Period Start and End set up in customizing and filled in. But my problem is that I can still enter a Goods Receipt in MIGO to that PO, after validity has ended. I've set up in customizing the system message 06-041 as Error, and I've put in Screen Layout the checkbox 'GR message' for both PO and Contract.
    Is there a way to block the GR threw IMG outside of the Validity Period ?
    Thx in advance,
    N.H.

    Hi,
    Anyone has any clues ?

  • W3c validator: looking for suggestions

    Hi all,
    can anybody help me with this?
    I tried to validate the following page:
    www.giuseppeguzzardi.com
    I did this because the page was not correctly visible in
    Netscape. I solved the incompatibility problems and now it is
    visible.
    The point is that now the validator shows the following
    errors:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.giuseppeguzzardi.com%2F&charset=%28dete ct+automatically%29&doctype=Inline&verbose=1
    Honestly I doubt that all these errors really need to be
    solved, for example the tag alt that is indicated as an error is
    related to immages that are only decorative.
    The height of the table are necessary for the visualization
    of the background immages and the same background images are
    necessary also for layout reasons.
    The thing that I really don' t know anything about is the
    doctype declaration at the very beginning of the page code.
    But the only thing I know is that if I write this
    declaration, Netscape screws up all the tables.
    Has anyone of you encountered similar problems? In how far is
    it recomendable to really consider all errors indicated by the w3c
    validator?
    Thanks a lot for any helpful suggestions,
    SuperGuz

    On 08 Mar 2007 in macromedia.dreamweaver, SuperGuz wrote:
    > Hi all,
    >
    > can anybody help me with this?
    > I tried to validate the following page:
    > www.giuseppeguzzardi.com
    >
    > I did this because the page was not correctly visible in
    Netscape. I
    > solved the incompatibility problems and now it is
    visible.
    > The point is that now the validator shows the following
    errors:
    >
    >
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.giuseppeguzzardi.c
    > om%2F&chars
    et=%28detect+automatically%29&doctype=Inline&verbose=1
    >
    > Honestly I doubt that all these errors really need to be
    solved, for
    > example the tag alt that is indicated as an error is
    related to
    > immages that are only decorative.
    Those are small, but they're easily corrected, and the alt
    attribute is
    an accessibility issue. Alt attributes are used by screen
    readers to
    help describe the page.
    > The height of the table are necessary for the
    visualization of the
    > background immages and the same background images are
    necessary also
    > for layout reasons.
    >
    > The thing that I really don' t know anything about is
    the doctype
    > declaration at the very beginning of the page code.
    http://alistapart.com/stories/doctype/
    The big deal is that if you don't have a doctype, it's
    unpredictable
    how browsers will display a page. With a doctype, browsers go
    into
    standards mode and it's fairly predictable.
    > But the only thing I know is that if I write this
    declaration,
    > Netscape screws up all the tables.
    Truth be told, Netscape is not a big consideration; I rarely
    see it in
    website stats. The browsers you should consider:
    - Internet Explorer 6
    - Firefox; I don't see much difference in page rendering
    between FF1.5
    and FF2
    - IE7
    - Safari
    Also, the rule of thumb to make your life easier is to design
    to
    FireFox, then correct any problems you see in IE.
    > Has anyone of you encountered similar problems? In how
    far is it
    > recomendable to really consider all errors indicated by
    the w3c
    > validator?
    If you understand the error and its implications, then by all
    means,
    ignore them. I personally find that correcting validation
    errors makes
    code easier to understand, debug and maintain.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • The element type jsp:useBean must be terminated by the matching end-tag

    Hi, I have deployed an application under WLS 8.1 SP4 and I get this error, when I try to access a page. I searched through the BEA site and it does refer to solution id S-13709 which says issue has been fixed in WLS 7.0. Hence should I not be seeing this error?
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xml.sax.SAXParseException: The element type "jsp:useBean" must be terminated by the matching end-tag "</jsp:useBean>"., "

    It would be useful if you provided a little more information about what you're trying to do on your JSP page. For instance, are you using an include directive or include action on the page? Are you trying to start the "jsp:useBean" element in one file, and end it in another? That, in particular, would likely be rejected.

  • 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>

  • GRC: Negative ack; PI: End tag 'enviNFe' does not match the start tag 'NFe'

    Bom dia SAP Boosters!
    Como muita gente estou aqui brigando com o GRC NFe. Esse forum tem resolvido meus problemas, até agora. Por isso inicio um novo tópico pois estou tendo o seguite problema que nao encontrei resposta:
    O grc e o pi estao em servidores separados. Do lado do grc, na sxmb_moni mostra para a interface BATCH_nfeRecepcaoLote_OB erro no acknowledgement status. abrindo o item error do ack msg id aparece:
    <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">NEGATIVE_ACKNOWLEDGEMENT</SAP:Code>
      <SAP:P1></SAP:P1>
      <SAP:P2></SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Negative acknowledgment triggered by a process</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    No lado do PI, ao consultar esta interface e abrir o payload do item Request Message Mapping, aparece a mensagem de erro: End tag 'n0:enviNFe' does not match the start tag 'NFe'. e todo o xml fica em uma linha só.
    Voltei entao no xml do sender e de fato encontrei a tag NFe, onde deveria constar os dados das notas fiscais, sendo aberta mas nao sendo fechada, e sem dados, desse jeito.
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:nfeRecepcaoLote2 xmlns:n0="http://sap.com/xi/NFE/006">
      <n0:cUF>35</n0:cUF>
      <n0:tpEmis>1</n0:tpEmis>
      <n0:tpAmb>2</n0:tpAmb>
    - <n0:nfeDadosMsg>
    - <n0:enviNFe versao="2.00" xmlns:n0="http://www.portalfiscal.inf.br/nfe">
      <n0:idLote>000000000000025</n0:idLote>
      <n0:NFe asx:root="" xmlns:asx="http://www.sap.com/abapxml"></n0:NFe>
      </n0:enviNFe>
      </n0:nfeDadosMsg>
      </n0:nfeRecepcaoLote2>
    Alguém já viu esse bug? estou com grc 10 e SP 08 e das notas que sairam depois nenhuma fala disso.
    Obrigado.

    Fiz um teste que parou de dar erro de acknowledgement e chegou a enviar o lote para a sefaz, que retornou erro de schema porque o xml continua vazio:
    Na interface determination gerada quando criei o cenário NFE_BATCH_WebAS_Outbound_Batch, a que contém a interface BATCH_nfeRecepcaoLote_OB, tirei o operation mapping BATCH_nfeRecepcaoLote2_TO_nfeRecepcaoLote2. Embora não seja mais retornada a mensagem de erro na tag, o payload continua no mesmo formato postado acima. Entao coloquei de volta.
    Bem, pesquisando vi que a função que gera o xml é a  /XNFE/006_SIGN_NFE_OUT. As notas aparecem como assinadas no monitor do grc, mas vou ter que ver entao como esta ocorrendo a geraçao do xml por esta funçao, certo?

  • Encountering error End tag does not match start tag 'group'

    Hi guys,
    am a newbee to XML Publisher.
    I am encountering the below error:
    Creating XDO Report at: Wed May 25 16:38:14 GMT+05:30 2011
         sql = select 'TEST' from dual;
         description = Learning XML Reporting
         port = 1561
         user = apps
         host = e2dscorhrmdba01.cendant.com
         sid = ABGHRDEV
         ReportParameters = {}
         path = D:\lanosrep\XML\Output\FirstXMLReport
         data_source_name = ABGHRDEV
         name = FirstXMLReport
    oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:516)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1242)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.dataengine.DataProcessor.getSQLSchema(DataProcessor.java:528)
         at oracle.apps.xdo.dataengine.DataProcessor.writeXMLSchema(DataProcessor.java:476)
         at CreateXDOReport.createXDOReport(CreateXDOReport.java:164)
         at CreateXDOReport.process(CreateXDOReport.java:108)
         at CreateXDOReport.main(CreateXDOReport.java:298)
    I have tried reinstalling the patch but of no use.
    Please guide me.

    I changed the sql query
    select 'TEST' from dual;
    to select 'TEST' from dual
    It is working fine now :)

Maybe you are looking for

  • Faulty T61p but Lenovo have declined to refund

    I have had my T61p laptop for less than 2 months, and already in that time, it will be sent for repairs twice and Lenovo, in a poor attempt to provide customer service, have made 9 service errors to date.  Basically, the T61p is faulty but Lenovo hav

  • Restore old iMessage chat contents after OS X reinstall?

    Last night I had to do a wipe of my MacBook Pro running Mountain Lion. At the end of the installer I chose to migrate all my old apps/data/settings back onto the machine from a recent Time Machine backup. Everything transferred over correctly with th

  • MDX Query Syntax error

    I have a simple MDX query is shown in below: SELECT [Accounts].[pv] ON ROWS, [Reporting].Members ON COLUMNS FROM RoggeBSO.Db (please note that Accounts, pv and Reporting words are in square brackets) When I execute this query on the MDX Script Editor

  • Given no choice by snotty foreign call center

    I decieded to join because it seems people on here make more sense than the people manning the phones! Firstly i cannot stand bt and cannot wait to leave them after my contract ends in nov this year. But in the meantime i have yet anther problem with

  • Java Client and J2EE

    Hello I am new in j2ee, and have developed to an application using ejb, struts and jsp's. Now I need to make an application in swing and nonencounter the way to be able � to make calls from the classes of swing. Or if tecnologia exists some with whic