Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.8-core, 1.2.8-core
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently Trinidad is not 100% supporting XHTML.
      See these issues:
      TRINIDAD-818
      TRINIDAD-1139

      Another problem is, that Trinidad uses document.forms property, which works in only some cases:
      -mime_type is "application/xhtml+xml"

      it doesn't work when mime type is "application/xml" or "text/xml", ergo when document send as xml to the browser.
      In that case, the getElementsByTagName() provides help...

      See here as well:

      http://blog.rd2inc.com/archives/2005/02/11/xhtml-and-the-applicationxhtmlxml-mime-type/

        Activity

        Hide
        Matthias Weßendorf added a comment -

        due to testing reasons, this will arrive after a Trinidad 1.x.9 release.

        Show
        Matthias Weßendorf added a comment - due to testing reasons, this will arrive after a Trinidad 1.x.9 release.
        Hide
        Matthias Weßendorf added a comment -

        Part of the fix is to provide OO-style helper to check for the form / contentType to get the desired FORM element

        Show
        Matthias Weßendorf added a comment - Part of the fix is to provide OO-style helper to check for the form / contentType to get the desired FORM element
        Hide
        burghard.w.v.britzke added a comment -

        Why not just using getElementByID() or getElementsByTagName()? these work on both - text/html and text/xml (as well as application/xhtml+xml) content type.

        Show
        burghard.w.v.britzke added a comment - Why not just using getElementByID() or getElementsByTagName()? these work on both - text/html and text/xml (as well as application/xhtml+xml) content type.
        Hide
        Matthias Weßendorf added a comment -

        tagName might be better. I need to create clean solution instead of a quick, ugly procedural hack.
        Soon...

        Show
        Matthias Weßendorf added a comment - tagName might be better. I need to create clean solution instead of a quick, ugly procedural hack. Soon...

          People

          • Assignee:
            Matthias Weßendorf
            Reporter:
            Matthias Weßendorf
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development