No HTML validation of spry

Hi
After inserting a spry xml, and validating the page in Dreamweaver, I got the following msg:
<the tag "div" doesn't have an attribute: "spry:region" in currently active versions [XHTML 1.0 Transitional]>
<the tag "th" doesn't have an attribute: "spry:sort" in currently active versions [XHTML 1.0 Transitional]>
<the tag "tr" doesn't have an attribute: "spry:repeat" in currently active versions [XHTML 1.0 Transitional]>
code:
<div spry:region="ds2">
                                <table>
                                  <tr>
                                    <th spry:sort="datum">Datum</th>
                                    <th spry:sort="inhoud">Inhoud</th>
                                    <th spry:sort="link">Link</th>
                                  </tr>
                                  <tr spry:repeat="ds2">
Can someone help me out ?
Thnx a lot !

http://labs.adobe.com/technologies/spry/articles/best_practices/validating_spry.html
http://labs.adobe.com/technologies/spry/articles/best_practices/separating_behavior.html
Or if you have CS4. commands > externalize javascript and your done.

Similar Messages

  • Including HTML tags in Spry XML data sets

    How does one add HTML tags to Spry XML data sets so that the displayed items include that markup?
    For example, I might want to bold-face words within XML data items. I have tried adding the markup, but instead of seeing, for example:
    This is bold face
    in the Spry table, I see:
    This is <b>bold</b> face
    I have tried using CDATA elements in the XML to no avail.

    Set the data type for the column as per
    var ds1 = new Spry.Data.XMLDataSet("myData.xml", "rows/row");
    ds1.setColumnType("myColumn", "html");
    Gramps

  • Html Validation icon shows in IE but not in Mozilla

    html Validation icon shows in IE but not in Mozilla
    Hi, All,
    I use DWMX 2004
    I placed the hmtl validation icon at the bottom of a template
    so that
    each page could be conveniently validated.
    The icon is showing all right, both locally and online, in
    IE, but it is
    not showing in Mozilla.
    What can I do to fix this?
    www.tudo.co.uk/testing/rishton/shell/contents/contact/contact.html
    The icon should appear underneath the up-arrow at the bottom
    of the page.
    Here is the template, with html extension for your
    convenience:
    http://www.tudo.co.uk/testing/rishton/templates/rishton_template.html
    Thanks.
    Adrian

    Joe Makowiec wrote:
    > On 29 Apr 2006 in macromedia.dreamweaver, wrote:
    >
    >
    >>html Validation icon shows in IE but not in Mozilla
    >>
    >>Hi, All,
    >>
    >>I use DWMX 2004
    >>
    >>I placed the hmtl validation icon at the bottom of a
    template so
    >>that each page could be conveniently validated.
    >>
    >>The icon is showing all right, both locally and
    online, in IE, but
    >>it is not showing in Mozilla.
    >>
    >>What can I do to fix this?
    >>
    >>www.tudo.co.uk/testing/rishton/shell/contents/contact/contact.html
    >>
    >>The icon should appear underneath the up-arrow at the
    bottom of the
    >>page.
    >>
    >>Here is the template, with html extension for your
    convenience:
    >>
    http://www.tudo.co.uk/testing/rishton/templates/rishton_template.html
    >
    >
    > I don't know about Mozilla, but it's showing here in
    FireFox, which
    > uses the same engine.
    >
    > BTW: Result: Failed validation, 24 errors
    >
    >
    Hi, thanks for this information about Firefox. Hope someone
    else may
    have an answer for Mozilla.
    Concerning the validation errors. I know about the million of
    validation errors, we are upgrading a site from doc type
    'transitional'
    to doc type 'strict'. We have the site on a test server, put
    the
    validation icon first, let it point out the errors, then fix
    them one by
    one. When they have been fixed the site is published. (i.e.
    we are not
    claiming the site is valid when it isn't).
    If somebody else can reproduce the problem in Mozilla I
    should be most
    grateful.
    btw, I am Adrian Stock (=Adrian.Stock22), do not know why I
    am showing
    on the screen as 'domain unknown'.
    Ah, perhaps I did not log in properly.
    Adrian

  • Html Validation issue

    In checking for W3C HTML validation for a page on my site I
    was shown to have 17 errors. 14 of which seem to be as a result of
    including links to a remote site with a long url which the
    Validator tries to validate.
    if you want to see what I mean put my page
    http://www.tormented.org.uk/Pages/inpatient/inpatient_bx.php
    (Username: gp
    Password: adoctor
    through the W3C validator.
    It would seem imposible to satisfy the Validator under these
    circumstances. Am I right?

    smiffy47 wrote:
    > In checking for W3C HTML validation for a page on my
    site I was shown
    > to have 17 errors. 14 of which seem to be as a result of
    including
    > links to a remote site with a long url which the
    Validator tries to
    > validate.
    > if you want to see what I mean put my page
    >
    http://www.tormented.org.uk/Pages/inpatient/inpatient_bx.php
    > (Username: gp
    > Password: adoctor
    > through the W3C validator.
    > It would seem imposible to satisfy the Validator under
    these
    > circumstances. Am I right?
    Try changing the ampersands in the url to &amp; - it
    should then still work,
    and will pass validation.
    HTH,
    Pete.
    Peter Connolly
    http://www.acutecomputing.co.uk
    Derby
    UK
    Skype ID: acutecomputing

  • How do I disable HTML Validator?

    I am using Firefox and Gmail. Lately, when composing mail, letters are slow in showing up and sometimes they seem to freeze. According to Google the problem is the Firefox HTML Validator, which should be disabled. Who do I do that?

    Tools > Addons > Extensions
    Disable that addon there.

  • HTML validation

    It doesn't appear that HTML validation has gotten much attention here on the Apex forum. I did a search here and in the OTN forums at large and found no threads with the phrase "HTML validation" in them. In any case I'm trying to go down that path, meaning that I'm trying to create an Apex application wherein the HTML produced passes validation using the W3C validation tool.
    Interestingly enough, I always thought Apex did a great job of producing valid HTML. Turns out it's not so good when you check it using the W3C validator. There are all sorts of quirks that show up that don't make a huge difference in display or function but they don't pass muster in terms of standards based HTML or XHTML.
    One of the things I found that's quite pervasive, and probably a relatively easy fix, is that when ampersands are inserted into URLs (using things like the #WORKSPACE_IMAGES# substitution string) that those ampersands are not properly escaped and this causes a bunch of cascading errors as a result.
    So my question is this: is anyone out there from the Apex development team at Oracle looking at this? Or is it not even on the radar?
    As far as I'm concerned, it would be really nice to be able to run an Apex app through the W3C validator and have it pass with flying colors. Does any one else care about this? Or is this thread just going to die a quick, quiet and painless death?
    Where do you stand on HTML validation? Is it a moot point if your application looks/behaves the way you want it to?
    In case you want to try this out for yourself take a look here: http://validator.w3.org/
    Earl
    Edited by: EarlL on Dec 9, 2009 3:15 PM

    Earl
    It doesn't appear that HTML validation has gotten much attention here on the Apex forum. I did a search here and in the OTN forums at large and found no threads with the phrase "HTML validation" in them.[You did not find the right incantation|http://forums.oracle.com/forums/search.jspa?threadID=&q=html+AND+%28validator+OR+standards+OR+compliant%29&objID=f137&dateRange=all&userID=&numResults=15&rankBy=10001]&mdash;there have been more than a few, [going back quite a while|http://forums.oracle.com/forums/thread.jspa?messageID=951069] and [right up to today|http://forums.oracle.com/forums/thread.jspa?messageID=3956045].
    One of the things I found that's quite pervasive, and probably a relatively easy fix, is that when ampersands are inserted into URLs (using things like the #WORKSPACE_IMAGES# substitution string) that those ampersands are not properly escaped and this causes a bunch of cascading errors as a result.[I pointed this out long ago|http://forums.oracle.com/forums/thread.jspa?messageID=1244310] for exactly the same reasons. If this was fixed it would be a lot easier to identify more significant problems.
    So my question is this: is anyone out there from the Apex development team at Oracle looking at this? Or is it not even on the radar?Although the ampersand issue has not been fully resolved, there has been resolution or improvement of a lot of the areas that caused validation errors at the time of that post. However (to the indignation of the majority I suspect) I would have preferred more progress in this dull and invisible area than on more obvious enhancements, on the grounds that getting the basics sorted would provide a better platform to develop these new features on, with less possibility of [introducing further non-compliance in those features|http://forums.oracle.com/forums/thread.jspa?messageID=3228587&#3228587].
    Does any one else care about this?Yes. See links above. I was trying to find the time to jump into that current thread.
    Where do you stand on HTML validation?Coincidentally, I came across a link to this earlier tonight, which as it turns out is close to my own thoughts on XHTML and validation. Browsers are more forgiving than compilers (as a programmer I wish that they weren't), so (X)HTML and CSS validation plays the same role in my XHTML/CSS workflow as the first pass through the PL/SQL compiler does with database code, or lint-type tools do in other languages: it generates errors and warnings that inform me that there is something wrong with that code. If I can fix it I do, but if it comes out of the APEX engine rather than a template...
    Is it a moot point if your application looks/behaves the way you want it to?Looking at the way HTML and CSS are used in the built-in templates, the solutions provided in this forum, and some of the projects I've worked on, that seems to be the majority view. Little or no thought is given to using semantic HTML to provide structure, or CSS that uses anything other than basic class selectors (even [&lt;font&gt; elements usually put in a Forum appearance every month or two|http://forums.oracle.com/forums/thread.jspa?threadID=998662]), and standards-based development in APEX has suffered because of it. Arguments have been made that it was/is necessary either due to lack of (cross-) browser support, and/or to reduce the learning curve for those starting with web technologies. The former is (thankfully) becoming less of an issue, and I have disagreed with the latter point since it was first put forward: that was the recipe for [tag soup|http://en.wikipedia.org/wiki/Tag_soup] in the first place.
    It would be preferable to be in the position where the level of standards compliance in our applications was completely in our own hands through having control of all the outputs generated by APEX, either through some kind of exposure of the engine, or a move to entirely template-based output. Those who have a preference or need for standards compliance would be able to make the necessary efforts and the rest could ignore it. I'd like to have that option.

  • What happened to my HTML Validator? It disappered after I updated the message that said there was an update to the HTML Validator. This is how I validate all my work.n it told me

    No longer seeing the HTML Validator on bottom bar nor can I find it in any menus

    If it was working in Firefox 4 it should work in Firefox 5
    You can force 5.0 "compatibility" with the "[https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ Compatibility Reporter]" extension, or with [http://kb.mozillazine.org/Extensions.checkCompatibility extensions.checkCompatibility] using about:addons.
    But that would not be a good solution go to the addons site
    https://addons.mozilla.org/en-US/firefox/addon/html-validator/
    Look just above change summary in the reviews it tells you to use
    For those with Firefox 5.0, a compatible version 0.9.0.6 is here: http://users.skynet.be/mgueury/mozilla/new_upgrade4.html
    which the author's site, but if you click on "view all versions" at the bottom of the addons page you will see the author has submitted it and you pick it up as experimental.

  • What is a good html validator?

    We had been using CSE HTML validator for windows, but they don't have Mac software.
    Thanks

    I also recommend http://www.anybrowser.org
    http://www.browsershots.org not so much as validators, but as resources for verifying the look and feel is as uniform as possible.

  • W3C HTML validation

    I use DWmx2004, and have occasional questions about W3C HTML
    validation.
    I do value the help of this forum, but wonder if I should
    take validation questions elsewhere?
    If you think I should, can you point me to a good forum on
    the subject?

    Why would your questions not be appropriate here?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "smiffy47" <[email protected]> wrote in
    message
    news:egsreu$a46$[email protected]..
    >I use DWmx2004, and have occasional questions about W3C
    HTML validation.
    > I do value the help of this forum, but wonder if I
    should take validation
    > questions elsewhere?
    > If you think I should, can you point me to a good forum
    on the subject?
    >

  • HTML 5 and Spry.. Making custom attributes valid

    The HTML 5 spec is still a "Editors Draft" but doesn't mean browser haven't started intergating it. While i was reading through the specification i noticed that HTML allows you to specify custom attributes on elements (see: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data ). We all know Spry also uses custom attributes for the Spry dataset. These are typically prefixed with spry:action_here=""
    At this point its not valid HTML even though, when serving your page as xhtml it should be valid.. as xml allows you to specify custom attributes as well. But that aside, with the release of HTML5 getting closer and closer we could make Spry attibutes valid if we started prefixing all custom attributes with data-
    For example:
    spry:region="ds1"     =>     data-spry:region="ds1"
    spry:if="0 == false"  =>     data-spry:if="0 == false"
    A switch to the data- prefix would require very little editing of the existing spry files. The only thing users would have to do, is switch to the HTML5 doc type declaring to make it valid. As this doc type has backwards compatiblity and do not force IE6 in quirksmode i feel this is better alternative to externalizing the custom attributes or waiting for browser to support extended doctypes.
    So i wonder what you opinions are on this . Is Spry ready for HTML5 and is HTML5 ready for Spry ?

    Am I excited about the upcoming HTML5? YES!  But not because it validates our Spry attributes.
    Spry, if used properly, already works well and the fact that it is not validated by W3C can be regarded as a curious fact. Sort of like a driver of mine that has not been validated by Microsoft; without the driver my hardware does not work. So what do I do?
    Well for some people its not a problem that the pages do not validate. But there companies and clients who value validation. Its understandable because people are overhyping it. In this case, it would allow to validate out of the box, without any changes to your code. Making it easier for starting developers and create a W3C valid document.
    I am excited about the new HTML5 elements that will be introduced, hopefully making life easier.
    Well doesn't really make a life easier. I'm currently creating my online resume in HTML and its harder... Normally you would just use divs for almost every layout wrapper now you got to choose between aside, section, article, details, hgroup, header etc. So much elements to choose from, but using them wisely is the hard part.
    I am not excited about the fact that HTML5, being backward compatible, will come with the deficiencies of its predecesors
    I am confused about the near simultaneous release of XHTML2. Where is the logic? Cannot the regulators and validators agree on a standard? I guess not. Even the browser-producers cannot agree on a standard. Remember the confusion with audio and video tapes?
    All of this confusion only adds weight to my argument, who cares about W3C validation or Microsoft validation? if it works it works!
    Some people like it strict some people don't, for performance reasons i actually choose for the loose version. It allows me to build a more compressed file .
    Video codec wars are fun to.. Ogg  vs MPEG. Using flash as fallback or silver light for unsupported browsers, or just generate multiple formats.. Hard to choose.. I personally hope h.264 codec will be used because its quality wise its much better. But we will see what the browser vendors will decide. 

  • Spry Validation in Spry Detail Region

    I am trying to pre-populate an "update" data form using a
    spry detail region. Basically a list of users is displayed on the
    left, and the detail in a tab on the right. A second "edit" tab
    displays a form that is populated with data from the spry dataset
    using a detail region (just as the first detail tab). However, the
    spry validations within the detail region do not work.
    Download
    this zip.
    Thanks for looking.

    Hi jmortimer,
    What you need to do is trigger the constructors for your
    validation widgets every time the region updates. To do this, you
    need to either move the constructor calls into your region, *or*
    call the constructors from an onPostUpdate observer on your region.
    To see an example of this, look here:
    http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample2.html
    Just a note ... don't move the constructor for your tabbed
    panel into the region. Leave it where it is today.
    --== Kin ==--

  • Open an html file inside spry collapsible panel

    Greetings,
    Using CS5
    Does anyone know the CSS code/possibility of opening an html file inside the Spry panel?
    I've tried the following code:
    .CollapsiblePanelContent {
        background-image: url(lookoutgraph.html);
    Is there a better CSS element for calling up an html file?
    For what it's worth...the html file I'm tring to open uses a <canvas> tag. When opened by itself, the html file has no problem opening and displaying the canvas data.
    Much Thanks!

    With the exeption of images, to add external content to a document you will need to make use of either serverside or clientside code.
    Have a look at the SpryHTMLPanel here http://labs.adobe.com/technologies/spry/samples/htmlpanel/html_panel_sample.html
    Otherwise, please supply a link to your site so that we can come up with alternatives.
    Gramps

  • Using javascript to dynamically generate the html for a  Spry table

    I have some javascript which generates html code for a Spry
    table which displays the content of a Spry data set. The problem is
    that after I generate the html, Spry never fills in the values for
    the table.
    Here's what I'm doing:
    Using a data set observer, check for onPostLoad and generate
    the html code
    Using innerHTML, stuff the code into the appropriate
    <div>
    Use regionName.updateContent() to update the region I just
    created with the html code I generated
    Interestingly, if I take the generated source for my page and
    remove the data set observer, the Spry table displays correctly
    with all the expected values. This suggests to me that my generated
    html code is correct, but that there is some sort of timing issue
    (i.e. Spry doesn't know about the new code I generated).
    Any suggestions?

    jalperin wrote:
    > Here's what I'm doing:
    >
    Using a data set observer, check for
    onPostLoad and generate the html
    > code
    >
    Using innerHTML, stuff the code into
    the appropriate <div>
    >
    Use regionName.updateContent() to
    update the region I just created
    > with the html code I generated
    >
    > Interestingly, if I take the generated source for my
    page and remove the data
    > set observer, the Spry table displays correctly with all
    the expected values.
    > This suggests to me that my generated html code is
    correct, but that there is
    > some sort of timing issue (i.e. Spry doesn't know about
    the new code I
    > generated).
    >
    > Any suggestions?
    I'd guess that it is a timing issue as well. I haven't looked
    much at the dataset capability in Spry, but it may be that the
    dataset "finds" all of the regions and code that it applies to
    before the onPostLoad event is triggered. If that is the case, then
    your generated code doesn't exist yet,and so the dataset thinks
    that there is nothing for it to apply to.
    Will the HTML that you generate change based upon the dataset
    that is actually returned? I guess I'm looking for the reason why
    the HTML is being generated when it could be in the page itself and
    avoid this issue completely.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Formatted HTML output with Spry regions - is it possible?

    I have recently begun using the XML export extension in
    conjunction with an Access database to output dynamic data into a
    page with a Spry master/detail setup. So far, my simple example is
    going great, but I've run into a snag that I need some help with.
    To explain what I'm doing - it's a simple article page with
    the list of articles on the left with the title and date and the
    article title and full contents on the right hand side. So far it's
    all working very well, updating in real time when I click an
    article title on the left. The problem is the output with this one
    field which stores not only text, but also HTML formatting that is
    generated by a wysiwyg editor used on the article creation side of
    this little app. This HTML formatted content is the article body
    and is stored in a field named the same - "body". With traditional
    ASP, the HTML formatting displays as expected and all is well, but
    with Spry, it doesn't output formatted HTML, but instead shows the
    content and HTML code together as text. How can I get this one
    field ("body") to be output so all the HTML formatting is shown?
    This is my simple page example. Click through and you'll see
    what I mean.
    http://www.shoestodyefor.com/ajax.asp
    Here's the section of code in question regarding the output
    on that right hand panel where the body is displayed for each
    article:
    <div spry:detailregion="ds1">
    {title}<br />
    {entryDate}<br />
    <br />
    {body}
    /div>
    Is it possible to have that {body} section shown so the
    dynamically created HTML code from the wysiwyg editor is displayed
    correctly?

    Steve Skinner wrote:
    > Is it possible to have that {body} section shown so the
    dynamically created
    > HTML code from the wysiwyg editor is displayed
    correctly?
    The version of Spry that ships with Dreamweaver CS3 (Spry
    1.4) doesn't
    support the type of output created by the XML Export
    extension.
    This issue has been corrected in Spry 1.5, but no plans have
    been made
    public for integrating Spry 1.5 into Dreamweaver CS3. You
    would need to
    download Spry 1.5 from
    http://labs.adobe.com/technologies/spry/.
    Details
    of how to hand-code the fix for output from XML Export are
    here:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Displaying rendered HTML text in spry detail region

    Hi,
    I have just started to play around with DW CS3 & spry and
    love them!
    I have a Master/Detail spry going from my database, but am
    having a problem displaying the detail the way I need it. The mySQL
    field is a BLOB for some HTML formatted text (I get the text
    elsewhere using a Xinha textarea edit widget and load the the
    formatted HTML text into my db). For example, my string is
    "<h2>this test</h2><strong>xyz</strong>"
    which is loaded into my db. I am using the dreamweaver ADDT export
    XML functionality to generate my spry master/detail region.
    My detail region is displaying the correct html associated
    with the selected master table entry, but it's with the HTML tags,
    not rendered as HTML (I don't want to see
    <h2>title</h2>; I'd like to see title with <H2>
    formatting).
    It's much like what I think a RSS feed would be, but can't
    find a way just to get the html to render because I don't have the
    files externally to source an iframe or anything. (I tried a XLS
    fragment transformation, just putting the detail record field that
    I want in an XLS file, but that didn't do anything).
    Any kind of guidance, hint, point and laugh but then tell me,
    would be greatly appreciated. I also posted at first at ADDT and
    then General Dreamweaver because I didn't locate this forum in the
    Forum topic list, so when I did find this I thought this is
    obviously where I should have first posted - sorry if anyone has
    also been surfing around. Thanks so much so any info.

    Hi Don,
    Thanks so much for responding. I actually did do that, but it
    seems like I might be doing it in the wrong place. I tried it in
    the .js that I have in my header:
    var dsList = new Spry.Data.XMLDataSet("./export.php",
    "theSpecials/special",{sortOnLoad:"rating",sortOrderOnLoad:"ascending",distinctOnLoad:tru e});
    dsList.setColumnType("detail", "html");
    which didn't do it. I also tried it right in my detail
    display area:
    <div style="overflow:hidden; width: 400px;"
    spry:detailregion="dsList">
    <div> <!-- nested div for spry effect -->
    <div id="detailDisplay" style="width:380px; "> <!--
    spry:content="{detail}"> -->
    <script
    type="text/javascript">dsList.setColumnType("detail","html");</script>{dsList::detail}
    <!-- echo '{dsList::detail}' ; ?> -->
    </div> <!-- detailDisplay -->
    </div> <!-- outter div for spry effect -->
    <!-- spry detail region -->
    </div>
    Excuse the inline ugliness, will clean it up when it's
    functional. But that doesn't seem to do it either. I am storing
    that particular field as a blob in the mysql database, but I
    already tried making that a VARCHAR which had no effect either.
    Thanks so much for for the suggestion! Any other gems that I
    can try?
    Liz

Maybe you are looking for