Loading ...
Sorry, an error occurred while loading the content.
 

XHTML Support

Expand Messages
  • Jason Lee
    I found out the hard way yesterday the YUI has issues with XHTML pages, but that support for that is being worked on. Any word on how close that is?
    Message 1 of 23 , Oct 25, 2006
      I found out the hard way yesterday the YUI has issues with XHTML pages, but that support for that is being worked on.  Any word on how close that is? 
       
      Semi-related, is there a public repo from which we can pull nightly snapshots?  Public issue tracker, etc?  I haven't been able to find either thus far...
       
      -----
      Jason Lee, SCJP
      Programmer/Analyst
       
    • Tony Summerville
      What specific issues does YUI have with XHTML pages?
      Message 2 of 23 , Oct 25, 2006
        What specific issues does YUI have with XHTML pages?

        On 10/25/06, Jason Lee <lee@...> wrote:

        I found out the hard way yesterday the YUI has issues with XHTML pages, but that support for that is being worked on.  Any word on how close that is? 
         
        Semi-related, is there a public repo from which we can pull nightly snapshots?  Public issue tracker, etc?  I haven't been able to find either thus far...
         
        -----
        Jason Lee, SCJP
        Programmer/Analyst
         


      • Jason Lee
        I don t have specifics, but here s where it s biting me: ... var pos = YAHOO.util.Dom.getXY( img_j_id10 ); fails, where
        Message 3 of 23 , Oct 25, 2006
          I don't have specifics, but here's where it's biting me:

          <img id="img_j_id10" ... />
          ...
          var pos = YAHOO.util.Dom.getXY("img_j_id10");

          fails, where

          document.getElementById("img_j_id10");

          does not. If I put the exact same HTML and JS code in a .html document,
          it works fine. In digging to find the issue, I ran across a blog that
          indicated an XHTML issue. Given the only change that occurred between
          working and non-working pages was the switch to XHTML, I'm assuming
          they're related. I'd be more than happy to be proven wrong, though. :)

          -----
          Jason Lee, SCJP
          Programmer/Analyst
          http://www.iec-okc.com <http://www.iec-okc.com/>



          ________________________________

          From: ydn-javascript@yahoogroups.com
          [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
          Sent: Wednesday, October 25, 2006 9:55 AM
          To: ydn-javascript@yahoogroups.com
          Subject: Re: [ydn-javascript] XHTML Support


          What specific issues does YUI have with XHTML pages?


          On 10/25/06, Jason Lee <lee@...> wrote:

          I found out the hard way yesterday the
          YUI has issues with XHTML pages, but that support for that is being
          worked on. Any word on how close that is?

          Semi-related, is there a public repo from which we can
          pull nightly snapshots? Public issue tracker, etc? I haven't been able
          to find either thus far...

          -----
          Jason Lee, SCJP
          Programmer/Analyst
          http://www.iec-okc.com <http://www.iec-okc.com/>
        • Dav Glass
          Most of the issues come from the YUI code creating and calling HTML tags in uppercase.. http://tech.groups.yahoo.com/group/ydn-javascript/message/4794 Dav
          Message 4 of 23 , Oct 25, 2006
            Most of the issues come from the YUI code creating and calling HTML tags in uppercase..
            http://tech.groups.yahoo.com/group/ydn-javascript/message/4794

             
            Dav Glass
            dav.glass@...
            davglass.com
            618.694.3476

            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft operating system is like a dog
            without bricks tied to its head +
            + A Microsoft Certified Systems Engineer is to computing what a
            McDonalds Certified Food Specialist is to fine cuisine +


            ----- Original Message ----
            From: Tony Summerville <tonysummerville@...>
            To: ydn-javascript@yahoogroups.com
            Sent: Wednesday, October 25, 2006 7:54:39 AM
            Subject: Re: [ydn-javascript] XHTML Support

            What specific issues does YUI have with XHTML pages?

            On 10/25/06, Jason Lee <lee@...> wrote:

            I found out the hard way yesterday the YUI has issues with XHTML pages, but that support for that is being worked on.  Any word on how close that is? 
             
            Semi-related, is there a public repo from which we can pull nightly snapshots?  Public issue tracker, etc?  I haven't been able to find either thus far...
             
            -----
            Jason Lee, SCJP
            Programmer/Analyst
             



          • Josh Peters
            That makes sense. YUI should really perform a .toLowerCase() (or toUpperCase()) when dealing with tag names. MIME type application/xml (or
            Message 5 of 23 , Oct 25, 2006
              That makes sense. YUI should really perform a .toLowerCase() (or
              toUpperCase()) when dealing with tag names. MIME type application/xml
              (or application/xhtml+xml) uses node names in lower case, while MIME
              type text/html uses upper case node names.

              On 10/25/06, Dav Glass <dav.glass@...> wrote:
              > Most of the issues come from the YUI code creating and calling HTML tags in uppercase..
              > http://tech.groups.yahoo.com/group/ydn-javascript/message/4794
              >
              >
              > Dav Glass
              > dav.glass@...
              > davglass.com
              > 618.694.3476
              >
              > + Windows: n. - The most successful computer virus, ever. +
              > + A computer without a Microsoft operating system is like a dog
              > without bricks tied to its head +
              > + A Microsoft Certified Systems Engineer is to computing what a
              > McDonalds Certified Food Specialist is to fine cuisine +
              >
              >
              >
              > ----- Original Message ----
              > From: Tony Summerville <tonysummerville@...>
              > To: ydn-javascript@yahoogroups.com
              > Sent: Wednesday, October 25, 2006 7:54:39 AM
              > Subject: Re: [ydn-javascript] XHTML Support
              >
              > What specific issues does YUI have with XHTML pages?
              >
              >
              > On 10/25/06, Jason Lee <lee@...> wrote:
              > >
              > >
              > >
              > >
              > >
              > >
              > >
              > > I found out the hard way yesterday the YUI has issues with XHTML pages, but that support for that is being worked on. Any word on how close that is?
              > >
              > > Semi-related, is there a public repo from which we can pull nightly snapshots? Public issue tracker, etc? I haven't been able to find either thus far...
              > >
              > > -----
              > > Jason Lee, SCJP
              > > Programmer/Analyst
              > > http://www.iec-okc.com
              > >
              > >
              > >
              >
              >
              >
              >
              >
            • Matt Sweeney
              Hi Jason, Can you provide a working repro of your issue? This works in my simple test case (sending Content-Type: application/xhtml+xml header). Thanks,
              Message 6 of 23 , Oct 25, 2006
                Hi Jason,

                Can you provide a working repro of your issue? This works in my simple
                test case (sending "Content-Type: application/xhtml+xml" header).

                Thanks,

                Matt

                Jason Lee wrote:

                >I don't have specifics, but here's where it's biting me:
                >
                > <img id="img_j_id10" ... />
                >...
                > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                >
                >fails, where
                >
                > document.getElementById("img_j_id10");
                >
                >does not. If I put the exact same HTML and JS code in a .html document,
                >it works fine. In digging to find the issue, I ran across a blog that
                >indicated an XHTML issue. Given the only change that occurred between
                >working and non-working pages was the switch to XHTML, I'm assuming
                >they're related. I'd be more than happy to be proven wrong, though. :)
                >
                >-----
                >Jason Lee, SCJP
                >Programmer/Analyst
                >http://www.iec-okc.com <http://www.iec-okc.com/>
                >
                >
                >
                >________________________________
                >
                > From: ydn-javascript@yahoogroups.com
                >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
                > Sent: Wednesday, October 25, 2006 9:55 AM
                > To: ydn-javascript@yahoogroups.com
                > Subject: Re: [ydn-javascript] XHTML Support
                >
                >
                > What specific issues does YUI have with XHTML pages?
                >
                >
                > On 10/25/06, Jason Lee <lee@...> wrote:
                >
                > I found out the hard way yesterday the
                >YUI has issues with XHTML pages, but that support for that is being
                >worked on. Any word on how close that is?
                >
                > Semi-related, is there a public repo from which we can
                >pull nightly snapshots? Public issue tracker, etc? I haven't been able
                >to find either thus far...
                >
                > -----
                > Jason Lee, SCJP
                > Programmer/Analyst
                > http://www.iec-okc.com <http://www.iec-okc.com/>
                >
                >
                >
                >
                >Yahoo! Groups Links
                >
                >
                >
                >
                >
                >
                >
                >
              • Josh Peters
                Jason, also be sure to be using YUI 0.11.4. I ve looked through the code (God bless grep) and there aren t any .tagName or .nodeName comparisons that are done
                Message 7 of 23 , Oct 25, 2006
                  Jason, also be sure to be using YUI 0.11.4. I've looked through the
                  code (God bless grep) and there aren't any .tagName or .nodeName
                  comparisons that are done incorrectly (they're all
                  .tagName.toUpperCase() which is best practice).

                  On 10/25/06, Matt Sweeney <msweeney@...> wrote:
                  >
                  >
                  >
                  >
                  >
                  >
                  > Hi Jason,
                  >
                  > Can you provide a working repro of your issue? This works in my simple
                  > test case (sending "Content-Type: application/xhtml+xml" header).
                  >
                  > Thanks,
                  >
                  > Matt
                  >
                  >
                  > Jason Lee wrote:
                  >
                  > >I don't have specifics, but here's where it's biting me:
                  > >
                  > > <img id="img_j_id10" ... />
                  > >...
                  > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                  > >
                  > >fails, where
                  > >
                  > > document.getElementById("img_j_id10");
                  > >
                  > >does not. If I put the exact same HTML and JS code in a .html document,
                  > >it works fine. In digging to find the issue, I ran across a blog that
                  > >indicated an XHTML issue. Given the only change that occurred between
                  > >working and non-working pages was the switch to XHTML, I'm assuming
                  > >they're related. I'd be more than happy to be proven wrong, though. :)
                  > >
                  > >-----
                  > >Jason Lee, SCJP
                  > >Programmer/Analyst
                  > >http://www.iec-okc.com <http://www.iec-okc.com/>
                  > >
                  > >
                  > >
                  > >________________________________
                  > >
                  > > From: ydn-javascript@yahoogroups.com
                  > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
                  > > Sent: Wednesday, October 25, 2006 9:55 AM
                  > > To: ydn-javascript@yahoogroups.com
                  > > Subject: Re: [ydn-javascript] XHTML Support
                  > >
                  > >
                  > > What specific issues does YUI have with XHTML pages?
                  > >
                  > >
                  > > On 10/25/06, Jason Lee <lee@...> wrote:
                  > >
                  > > I found out the hard way yesterday the
                  > >YUI has issues with XHTML pages, but that support for that is being
                  > >worked on. Any word on how close that is?
                  > >
                  > > Semi-related, is there a public repo from which we can
                  > >pull nightly snapshots? Public issue tracker, etc? I haven't been able
                  > >to find either thus far...
                  > >
                  > > -----
                  > > Jason Lee, SCJP
                  > > Programmer/Analyst
                  > > http://www.iec-okc.com <http://www.iec-okc.com/>
                  > >
                  > >
                  > >
                  > >
                  > >Yahoo! Groups Links
                  > >
                  > >
                  > >
                  > >
                  > >
                  > >
                  > >
                  > >
                  >
                  >
                  >
                  >
                • Nige White
                  A side topic thrown up by the issue of case conversions... I ve extended String s prototype to include equalsIgnoreCase(), startsWith(), endsWith(), trim(). I
                  Message 8 of 23 , Oct 26, 2006
                    A side topic thrown up by the issue of case conversions...

                    I've extended String's prototype to include equalsIgnoreCase(),
                    startsWith(), endsWith(), trim(). I have a few extensions to Number and
                    Date etc...

                    Not a big deal, loads of people probably have.

                    Jack has added some excellent extensions to Function's prototype in his
                    library - createDelegate() has become a favourite when creating callback
                    functions for other libraries such as DWR..

                    I think some of these could be usefully moved into the core YAHOO.js
                    module Rather than having all YUI users roll their own enhancements to
                    native objects, I'd like to see them bundled into YUI.

                    Nige.

                    Josh Peters wrote:

                    > That makes sense. YUI should really perform a .toLowerCase() (or
                    > toUpperCase()) when dealing with tag names. MIME type application/xml
                    > (or application/xhtml+xml) uses node names in lower case, while MIME
                    > type text/html uses upper case node names.
                    >
                    > On 10/25/06, Dav Glass <dav.glass@...
                    > <mailto:dav.glass%40yahoo.com>> wrote:
                    > > Most of the issues come from the YUI code creating and calling HTML
                    > tags in uppercase..
                    > > http://tech.groups.yahoo.com/group/ydn-javascript/message/4794
                    > <http://tech.groups.yahoo.com/group/ydn-javascript/message/4794>
                    > >
                    > >
                    > > Dav Glass
                    > > dav.glass@... <mailto:dav.glass%40yahoo.com>
                    > > davglass.com
                    > > 618.694.3476
                    > >
                    > > + Windows: n. - The most successful computer virus, ever. +
                    > > + A computer without a Microsoft operating system is like a dog
                    > > without bricks tied to its head +
                    > > + A Microsoft Certified Systems Engineer is to computing what a
                    > > McDonalds Certified Food Specialist is to fine cuisine +
                    > >
                    > >
                    > >
                    > > ----- Original Message ----
                    > > From: Tony Summerville <tonysummerville@...
                    > <mailto:tonysummerville%40gmail.com>>
                    > > To: ydn-javascript@yahoogroups.com
                    > <mailto:ydn-javascript%40yahoogroups.com>
                    > > Sent: Wednesday, October 25, 2006 7:54:39 AM
                    > > Subject: Re: [ydn-javascript] XHTML Support
                    > >
                    > > What specific issues does YUI have with XHTML pages?
                    > >
                    > >
                    > > On 10/25/06, Jason Lee <lee@... <mailto:lee%40iecokc.com>> wrote:
                    > > >
                    > > >
                    > > >
                    > > >
                    > > >
                    > > >
                    > > >
                    > > > I found out the hard way yesterday the YUI has issues with XHTML
                    > pages, but that support for that is being worked on. Any word on how
                    > close that is?
                    > > >
                    > > > Semi-related, is there a public repo from which we can pull
                    > nightly snapshots? Public issue tracker, etc? I haven't been able to
                    > find either thus far...
                    > > >
                    > > > -----
                    > > > Jason Lee, SCJP
                    > > > Programmer/Analyst
                    > > > http://www.iec-okc.com <http://www.iec-okc.com>
                    > > >
                    > > >
                    > > >
                    > >
                    > >
                    > >
                    > >
                    > >
                    >
                    >
                    > _____________________________________________________________________
                    > This message has been checked for all known viruses. Virus scanning
                    > powered by Messagelabs http://www.messagelabs.com For more information
                    > e-mail : hostmaster@...



                    _____________________________________________________________________
                    This message has been checked for all known viruses. Virus scanning
                    powered by Messagelabs http://www.messagelabs.com For more information
                    e-mail : hostmaster@...
                  • Ivan Lazarte
                    Isn t this bad practice? The idea being that you are adding to objects in a shared way, whereas if you placed your own code in a namespace you define, you
                    Message 9 of 23 , Oct 26, 2006
                      Isn't this bad practice? The idea being that you are adding to
                      objects in a shared way, whereas if you placed your own code in a
                      namespace you define, you avoid these potential conflicts.

                      I used to prototype all the type. Now I strictly use containment or
                      static classes to add functionality to my library.

                      --- In ydn-javascript@yahoogroups.com, Nige White <nigelw@...> wrote:
                      >
                      > A side topic thrown up by the issue of case conversions...
                      >
                      > I've extended String's prototype to include equalsIgnoreCase(),
                      > startsWith(), endsWith(), trim(). I have a few extensions to
                      Number and
                      > Date etc...
                      >
                      > Not a big deal, loads of people probably have.
                      >
                      > Jack has added some excellent extensions to Function's prototype
                      in his
                      > library - createDelegate() has become a favourite when creating
                      callback
                      > functions for other libraries such as DWR..
                      >
                      > I think some of these could be usefully moved into the core
                      YAHOO.js
                      > module Rather than having all YUI users roll their own
                      enhancements to
                      > native objects, I'd like to see them bundled into YUI.
                      >
                      > Nige.
                      >
                      > Josh Peters wrote:
                      >
                      > > That makes sense. YUI should really perform a .toLowerCase() (or
                      > > toUpperCase()) when dealing with tag names. MIME type
                      application/xml
                      > > (or application/xhtml+xml) uses node names in lower case, while
                      MIME
                      > > type text/html uses upper case node names.
                      > >
                      > > On 10/25/06, Dav Glass <dav.glass@...
                      > > <mailto:dav.glass%40yahoo.com>> wrote:
                      > > > Most of the issues come from the YUI code creating and calling
                      HTML
                      > > tags in uppercase..
                      > > > http://tech.groups.yahoo.com/group/ydn-javascript/message/4794
                      > > <http://tech.groups.yahoo.com/group/ydn-javascript/message/4794>
                      > > >
                      > > >
                      > > > Dav Glass
                      > > > dav.glass@... <mailto:dav.glass%40yahoo.com>
                      > > > davglass.com
                      > > > 618.694.3476
                      > > >
                      > > > + Windows: n. - The most successful computer virus, ever. +
                      > > > + A computer without a Microsoft operating system is like a dog
                      > > > without bricks tied to its head +
                      > > > + A Microsoft Certified Systems Engineer is to computing what a
                      > > > McDonalds Certified Food Specialist is to fine cuisine +
                      > > >
                      > > >
                      > > >
                      > > > ----- Original Message ----
                      > > > From: Tony Summerville <tonysummerville@...
                      > > <mailto:tonysummerville%40gmail.com>>
                      > > > To: ydn-javascript@yahoogroups.com
                      > > <mailto:ydn-javascript%40yahoogroups.com>
                      > > > Sent: Wednesday, October 25, 2006 7:54:39 AM
                      > > > Subject: Re: [ydn-javascript] XHTML Support
                      > > >
                      > > > What specific issues does YUI have with XHTML pages?
                      > > >
                      > > >
                      > > > On 10/25/06, Jason Lee <lee@... <mailto:lee%40iecokc.com>>
                      wrote:
                      > > > >
                      > > > >
                      > > > >
                      > > > >
                      > > > >
                      > > > >
                      > > > >
                      > > > > I found out the hard way yesterday the YUI has issues with
                      XHTML
                      > > pages, but that support for that is being worked on. Any word on
                      how
                      > > close that is?
                      > > > >
                      > > > > Semi-related, is there a public repo from which we can pull
                      > > nightly snapshots? Public issue tracker, etc? I haven't been
                      able to
                      > > find either thus far...
                      > > > >
                      > > > > -----
                      > > > > Jason Lee, SCJP
                      > > > > Programmer/Analyst
                      > > > > http://www.iec-okc.com <http://www.iec-okc.com>
                      > > > >
                      > > > >
                      > > > >
                      > > >
                      > > >
                      > > >
                      > > >
                      > > >
                      > >
                      > >
                      > >
                      _____________________________________________________________________
                      > > This message has been checked for all known viruses. Virus
                      scanning
                      > > powered by Messagelabs http://www.messagelabs.com For more
                      information
                      > > e-mail : hostmaster@...
                      >
                      >
                      >
                      >
                      _____________________________________________________________________
                      > This message has been checked for all known viruses. Virus scanning
                      > powered by Messagelabs http://www.messagelabs.com For more
                      information
                      > e-mail : hostmaster@...
                      >
                    • Jason Lee
                      I installed my test app on my external dev/personal server here: http://dev.steeplesoft.com:8080/JsfTestApp/index.jsf I also just saved the source of this page
                      Message 10 of 23 , Oct 27, 2006
                        I installed my test app on my external dev/personal server here:

                        http://dev.steeplesoft.com:8080/JsfTestApp/index.jsf

                        I also just saved the source of this page as cal.xhtml (so apache would
                        send the "right" mime type) and adjusted the JS and CSS links, which got
                        me the same error. :|

                        -----
                        Jason Lee, SCJP
                        Programmer/Analyst
                        http://www.iec-okc.com


                        > -----Original Message-----
                        > From: ydn-javascript@yahoogroups.com
                        > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                        > Sent: Wednesday, October 25, 2006 1:51 PM
                        > To: ydn-javascript@yahoogroups.com
                        > Subject: Re: [ydn-javascript] XHTML Support
                        >
                        > Hi Jason,
                        >
                        > Can you provide a working repro of your issue? This works in
                        > my simple test case (sending "Content-Type:
                        > application/xhtml+xml" header).
                        >
                        > Thanks,
                        >
                        > Matt
                        >
                        > Jason Lee wrote:
                        >
                        > >I don't have specifics, but here's where it's biting me:
                        > >
                        > > <img id="img_j_id10" ... />
                        > >...
                        > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                        > >
                        > >fails, where
                        > >
                        > > document.getElementById("img_j_id10");
                        > >
                        > >does not. If I put the exact same HTML and JS code in a .html
                        > >document, it works fine. In digging to find the issue, I
                        > ran across a
                        > >blog that indicated an XHTML issue. Given the only change that
                        > >occurred between working and non-working pages was the
                        > switch to XHTML,
                        > >I'm assuming they're related. I'd be more than happy to be proven
                        > >wrong, though. :)
                        > >
                        > >-----
                        > >Jason Lee, SCJP
                        > >Programmer/Analyst
                        > >http://www.iec-okc.com <http://www.iec-okc.com/>
                        > >
                        > >
                        > >
                        > >________________________________
                        > >
                        > > From: ydn-javascript@yahoogroups.com
                        > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
                        > > Sent: Wednesday, October 25, 2006 9:55 AM
                        > > To: ydn-javascript@yahoogroups.com
                        > > Subject: Re: [ydn-javascript] XHTML Support
                        > >
                        > >
                        > > What specific issues does YUI have with XHTML pages?
                        > >
                        > >
                        > > On 10/25/06, Jason Lee <lee@...> wrote:
                        > >
                        > > I found out the hard way
                        > yesterday the YUI has issues with XHTML
                        > >pages, but that support for that is being worked on. Any
                        > word on how
                        > >close that is?
                        > >
                        > > Semi-related, is there a public repo from which
                        > we can pull nightly
                        > >snapshots? Public issue tracker, etc? I haven't been able to find
                        > >either thus far...
                        > >
                        > > -----
                        > > Jason Lee, SCJP
                        > > Programmer/Analyst
                        > > http://www.iec-okc.com <http://www.iec-okc.com/>
                        > >
                        > >
                        > >
                        > >
                        > >Yahoo! Groups Links
                        > >
                        > >
                        > >
                        > >
                        > >
                        > >
                        > >
                        > >
                        >
                        >
                        >
                        >
                        > Yahoo! Groups Links
                        >
                        >
                        >
                        >
                        >
                      • Jason Lee
                        Hmm. I *am* on 0.11.4 (though the comments still say 0.11.3, but, after downloading the library again, I can only assume they forgot to update the comments
                        Message 11 of 23 , Oct 27, 2006
                          Hmm. I *am* on 0.11.4 (though the comments still say 0.11.3, but, after
                          downloading the library again, I can only assume they forgot to update
                          the comments :).

                          -----
                          Jason Lee, SCJP
                          Programmer/Analyst
                          http://www.iec-okc.com


                          > -----Original Message-----
                          > From: ydn-javascript@yahoogroups.com
                          > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Josh Peters
                          > Sent: Wednesday, October 25, 2006 5:46 PM
                          > To: ydn-javascript@yahoogroups.com
                          > Subject: Re: [ydn-javascript] XHTML Support
                          >
                          > Jason, also be sure to be using YUI 0.11.4. I've looked
                          > through the code (God bless grep) and there aren't any
                          > .tagName or .nodeName comparisons that are done incorrectly
                          > (they're all
                          > .tagName.toUpperCase() which is best practice).
                          >
                          > On 10/25/06, Matt Sweeney <msweeney@...> wrote:
                          > >
                          > >
                          > >
                          > >
                          > >
                          > >
                          > > Hi Jason,
                          > >
                          > > Can you provide a working repro of your issue? This works in my
                          > > simple test case (sending "Content-Type:
                          > application/xhtml+xml" header).
                          > >
                          > > Thanks,
                          > >
                          > > Matt
                          > >
                          > >
                          > > Jason Lee wrote:
                          > >
                          > > >I don't have specifics, but here's where it's biting me:
                          > > >
                          > > > <img id="img_j_id10" ... />
                          > > >...
                          > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                          > > >
                          > > >fails, where
                          > > >
                          > > > document.getElementById("img_j_id10");
                          > > >
                          > > >does not. If I put the exact same HTML and JS code in a .html
                          > > document, >it works fine. In digging to find the issue, I
                          > ran across
                          > > a blog that >indicated an XHTML issue. Given the only change that
                          > > occurred between >working and non-working pages was the switch to
                          > > XHTML, I'm assuming >they're related. I'd be more than
                          > happy to be
                          > > proven wrong, though. :) >
                          > > >-----
                          > > >Jason Lee, SCJP
                          > > >Programmer/Analyst
                          > > >http://www.iec-okc.com <http://www.iec-okc.com/> > > >
                          > > >________________________________ >
                          > > > From: ydn-javascript@yahoogroups.com
                          > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony
                          > Summerville
                          > > > Sent: Wednesday, October 25, 2006 9:55 AM
                          > > > To: ydn-javascript@yahoogroups.com
                          > > > Subject: Re: [ydn-javascript] XHTML Support
                          > > >
                          > > >
                          > > > What specific issues does YUI have with XHTML pages?
                          > > >
                          > > >
                          > > > On 10/25/06, Jason Lee <lee@...> wrote:
                          > > >
                          > > > I found out the hard way yesterday the
                          > > >YUI has issues with XHTML pages, but that support for
                          > that is being
                          > > >worked on. Any word on how close that is?
                          > > >
                          > > > Semi-related, is there a public repo from which we can
                          > > >pull nightly snapshots? Public issue tracker, etc? I
                          > haven't been
                          > > able >to find either thus far...
                          > > >
                          > > > -----
                          > > > Jason Lee, SCJP
                          > > > Programmer/Analyst
                          > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                          > > >
                          > > >
                          > > >
                          > > >
                          > > >Yahoo! Groups Links
                          > > >
                          > > >
                          > > >
                          > > >
                          > > >
                          > > >
                          > > >
                          > > >
                          > >
                          > >
                          > >
                          > >
                          >
                          >
                          >
                          > Yahoo! Groups Links
                          >
                          >
                          >
                          >
                          >
                        • Jason Lee
                          Reading that back, I hope it didn t come across as snippy. It wasn t meant to be. :) ... Jason Lee, SCJP Programmer/Analyst http://www.iec-okc.com
                          Message 12 of 23 , Oct 27, 2006
                            Reading that back, I hope it didn't come across as snippy. It wasn't
                            meant to be. :)

                            -----
                            Jason Lee, SCJP
                            Programmer/Analyst
                            http://www.iec-okc.com


                            > -----Original Message-----
                            > From: ydn-javascript@yahoogroups.com
                            > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Jason Lee
                            > Sent: Friday, October 27, 2006 10:24 AM
                            > To: ydn-javascript@yahoogroups.com
                            > Subject: RE: [ydn-javascript] XHTML Support
                            >
                            > Hmm. I *am* on 0.11.4 (though the comments still say 0.11.3,
                            > but, after downloading the library again, I can only assume
                            > they forgot to update the comments :).
                            >
                            > -----
                            > Jason Lee, SCJP
                            > Programmer/Analyst
                            > http://www.iec-okc.com
                            >
                            >
                            > > -----Original Message-----
                            > > From: ydn-javascript@yahoogroups.com
                            > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Josh Peters
                            > > Sent: Wednesday, October 25, 2006 5:46 PM
                            > > To: ydn-javascript@yahoogroups.com
                            > > Subject: Re: [ydn-javascript] XHTML Support
                            > >
                            > > Jason, also be sure to be using YUI 0.11.4. I've looked
                            > through the
                            > > code (God bless grep) and there aren't any .tagName or .nodeName
                            > > comparisons that are done incorrectly (they're all
                            > > .tagName.toUpperCase() which is best practice).
                            > >
                            > > On 10/25/06, Matt Sweeney <msweeney@...> wrote:
                            > > >
                            > > >
                            > > >
                            > > >
                            > > >
                            > > >
                            > > > Hi Jason,
                            > > >
                            > > > Can you provide a working repro of your issue? This works in my
                            > > > simple test case (sending "Content-Type:
                            > > application/xhtml+xml" header).
                            > > >
                            > > > Thanks,
                            > > >
                            > > > Matt
                            > > >
                            > > >
                            > > > Jason Lee wrote:
                            > > >
                            > > > >I don't have specifics, but here's where it's biting me:
                            > > > >
                            > > > > <img id="img_j_id10" ... />
                            > > > >...
                            > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                            > > > >
                            > > > >fails, where
                            > > > >
                            > > > > document.getElementById("img_j_id10");
                            > > > >
                            > > > >does not. If I put the exact same HTML and JS code in a .html
                            > > > document, >it works fine. In digging to find the issue, I
                            > > ran across
                            > > > a blog that >indicated an XHTML issue. Given the only
                            > change that
                            > > > occurred between >working and non-working pages was the
                            > switch to
                            > > > XHTML, I'm assuming >they're related. I'd be more than
                            > > happy to be
                            > > > proven wrong, though. :) >
                            > > > >-----
                            > > > >Jason Lee, SCJP
                            > > > >Programmer/Analyst
                            > > > >http://www.iec-okc.com <http://www.iec-okc.com/> > > >
                            > > > >________________________________ >
                            > > > > From: ydn-javascript@yahoogroups.com
                            > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony
                            > > Summerville
                            > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                            > > > > To: ydn-javascript@yahoogroups.com
                            > > > > Subject: Re: [ydn-javascript] XHTML Support
                            > > > >
                            > > > >
                            > > > > What specific issues does YUI have with XHTML pages?
                            > > > >
                            > > > >
                            > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                            > > > >
                            > > > > I found out the hard
                            > way yesterday the
                            > > > >YUI has issues with XHTML pages, but that support for
                            > > that is being
                            > > > >worked on. Any word on how close that is?
                            > > > >
                            > > > > Semi-related, is there a public repo
                            > from which we can
                            > > > >pull nightly snapshots? Public issue tracker, etc? I
                            > > haven't been
                            > > > able >to find either thus far...
                            > > > >
                            > > > > -----
                            > > > > Jason Lee, SCJP
                            > > > > Programmer/Analyst
                            > > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > > >Yahoo! Groups Links
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > > >
                            > > >
                            > > >
                            > > >
                            > > >
                            > >
                            > >
                            > >
                            > > Yahoo! Groups Links
                            > >
                            > >
                            > >
                            > >
                            > >
                            >
                            >
                            >
                            > Yahoo! Groups Links
                            >
                            >
                            >
                            >
                            >
                          • Thomas S. Sha
                            ... In the main README in /yui, it mentions the updated components for patch release 0.11.4; Dom did not have any updates. Regards, Thomas
                            Message 13 of 23 , Oct 27, 2006
                              --- In ydn-javascript@yahoogroups.com, "Jason Lee" <lee@...> wrote:
                              >
                              > Hmm. I *am* on 0.11.4 (though the comments still say 0.11.3, but, after
                              > downloading the library again, I can only assume they forgot to update
                              > the comments :).

                              In the main README in /yui, it mentions the updated components for
                              patch release 0.11.4; Dom did not have any updates.

                              Regards,
                              Thomas
                            • Matt Sweeney
                              Hey Jason, No offense taken. I loaded the url you sent, and am not sure what am I looking for. I see 2 js errors, one complaining about the non-breaking space
                              Message 14 of 23 , Oct 27, 2006
                                Hey Jason,

                                No offense taken.

                                I loaded the url you sent, and am not sure what am I looking for.  I see 2 js errors, one complaining about the non-breaking space entity, and an illegal string error (in FF 1.5).

                                Is the issue you are referring to?  If so, it doesn't seem to related to Dom.getXY, as that method won't make any changes to the document.  If you remove the calendar code and just position the image relative to the input field, is it accurate?

                                Thanks,

                                Matt

                                Jason Lee wrote:
                                Reading that back, I hope it didn't come across as snippy.  It wasn't
                                meant to be. :)
                                
                                -----
                                Jason Lee, SCJP
                                Programmer/Analyst
                                http://www.iec-okc.com
                                 
                                
                                  
                                -----Original Message-----
                                From: ydn-javascript@yahoogroups.com 
                                [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Jason Lee
                                Sent: Friday, October 27, 2006 10:24 AM
                                To: ydn-javascript@yahoogroups.com
                                Subject: RE: [ydn-javascript] XHTML Support
                                
                                Hmm.  I *am* on 0.11.4 (though the comments still say 0.11.3, 
                                but, after downloading the library again, I can only assume 
                                they forgot to update the comments :).
                                
                                -----
                                Jason Lee, SCJP
                                Programmer/Analyst
                                http://www.iec-okc.com
                                 
                                
                                    
                                -----Original Message-----
                                From: ydn-javascript@yahoogroups.com
                                [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Josh Peters
                                Sent: Wednesday, October 25, 2006 5:46 PM
                                To: ydn-javascript@yahoogroups.com
                                Subject: Re: [ydn-javascript] XHTML Support
                                
                                Jason, also be sure to be using YUI 0.11.4.  I've looked 
                                      
                                through the 
                                    
                                code (God bless grep) and there aren't any .tagName or .nodeName 
                                comparisons that are done incorrectly (they're all
                                .tagName.toUpperCase() which is best practice).
                                
                                On 10/25/06, Matt Sweeney <msweeney@...> wrote:
                                      
                                
                                
                                
                                
                                Hi Jason,
                                
                                 Can you provide a working repro of your issue?  This works in my 
                                simple  test case (sending "Content-Type:
                                        
                                application/xhtml+xml" header).
                                      
                                 Thanks,
                                
                                 Matt
                                
                                
                                 Jason Lee wrote:
                                
                                 >I don't have specifics, but here's where it's biting me:
                                 >
                                 >	<img id="img_j_id10" ... />
                                 >...
                                 >	var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                 >	
                                 >fails, where
                                 >
                                 >	document.getElementById("img_j_id10");
                                 >
                                 >does not.  If I put the exact same HTML and JS code in a .html 
                                document,  >it works fine.  In digging to find the issue, I
                                        
                                ran across
                                      
                                a blog that  >indicated an XHTML issue.  Given the only 
                                        
                                change that 
                                    
                                occurred between  >working and non-working pages was the 
                                        
                                switch to 
                                    
                                XHTML, I'm assuming  >they're related.  I'd be more than
                                        
                                happy to be
                                      
                                proven wrong, though. :)  >
                                 >-----
                                 >Jason Lee, SCJP
                                 >Programmer/Analyst
                                 >http://www.iec-okc.com <http://www.iec-okc.com/>  >  >  >
                                        
                                ________________________________  >
                                          
                                 >	From: ydn-javascript@yahoogroups.com
                                 >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony
                                        
                                Summerville
                                      
                                 >	Sent: Wednesday, October 25, 2006 9:55 AM
                                 >	To: ydn-javascript@yahoogroups.com
                                 >	Subject: Re: [ydn-javascript] XHTML Support
                                 >	
                                 >	
                                 >	What specific issues does YUI have with XHTML pages?
                                 >	
                                 >	
                                 >	On 10/25/06, Jason Lee <lee@...> wrote:
                                 >
                                 >				I found out the hard 
                                        
                                way yesterday the
                                    
                                 >YUI has issues with XHTML pages, but that support for
                                        
                                that is being
                                      
                                worked on.  Any word on how close that is?
                                          
                                 >		
                                 >		Semi-related, is there a public repo 
                                        
                                from which we can
                                    
                                 >pull nightly snapshots?  Public issue tracker, etc?  I
                                        
                                haven't been
                                      
                                able  >to find either thus far...
                                 >		
                                 >		-----
                                 >		Jason Lee, SCJP
                                 >		Programmer/Analyst
                                 >		http://www.iec-okc.com <http://www.iec-okc.com/>
                                 >		
                                 >
                                 >
                                 >
                                 >Yahoo! Groups Links
                                 >
                                 >
                                 >
                                 >
                                 >
                                 >
                                 >
                                 >
                                
                                
                                
                                                  
                                        
                                 
                                Yahoo! Groups Links
                                
                                
                                
                                
                                
                                      
                                 
                                Yahoo! Groups Links
                                
                                
                                
                                
                                
                                    
                                
                                 
                                Yahoo! Groups Links
                                
                                <*> To visit your group on the web, go to:
                                    http://groups.yahoo.com/group/ydn-javascript/
                                
                                <*> Your email settings:
                                    Individual Email | Traditional
                                
                                <*> To change settings online go to:
                                    http://groups.yahoo.com/group/ydn-javascript/join
                                    (Yahoo! ID required)
                                
                                <*> To change settings via email:
                                    mailto:ydn-javascript-digest@yahoogroups.com 
                                    mailto:ydn-javascript-fullfeatured@yahoogroups.com
                                
                                <*> To unsubscribe from this group, send an email to:
                                    ydn-javascript-unsubscribe@yahoogroups.com
                                
                                <*> Your use of Yahoo! Groups is subject to:
                                    http://docs.yahoo.com/info/terms/
                                 
                                
                                
                                
                                  

                              • Jason Lee
                                Ok. Whew! I read that back and thought it was a bit terse and might carry a tone I did not intend. :) At any rate, here s the error I m getting: uncaught
                                Message 15 of 23 , Oct 27, 2006
                                  Ok. Whew! I read that back and thought it was a bit terse and might
                                  carry a tone I did not intend. :)

                                  At any rate, here's the error I'm getting:

                                  uncaught exception: [Exception... "An invalid or illegal string was
                                  specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"
                                  location:
                                  http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar.
                                  js.jsf Line: 2217
                                  <http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar
                                  .js.jsf Line: 2217> ]

                                  in this JS:

                                  var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                  var img_height = parseInt(YAHOO.util.Dom.getStyle("img_j_id10",
                                  "height"));
                                  elem = YAHOO.util.Dom.get("j_id10");

                                  elem.style.top = pos[1] + img_height - 1 + "px";
                                  elem.style.left = pos[0] + "px";

                                  because pos is false. YAHOO.util.Dom.getXY("img_j_id10") is failing to
                                  find img_j_id10, though it's clearly in the DOM
                                  (document.getElementById() finds it). To be more accurate, though, it
                                  finds it ok (YAHOO.util.Dom.get() works), but the method can't calculate
                                  the offset because el.offsetParent is null in line 192 of

                                  http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/dom.js.js
                                  f

                                  IE (6) doesn't give me any errors, but it also doesn't just doesn't
                                  work.

                                  -----
                                  Jason Lee, SCJP
                                  Programmer/Analyst
                                  http://www.iec-okc.com <http://www.iec-okc.com/>



                                  ________________________________

                                  From: ydn-javascript@yahoogroups.com
                                  [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                  Sent: Friday, October 27, 2006 12:46 PM
                                  To: ydn-javascript@yahoogroups.com
                                  Subject: Re: [ydn-javascript] XHTML Support


                                  Hey Jason,

                                  No offense taken.

                                  I loaded the url you sent, and am not sure what am I looking
                                  for. I see 2 js errors, one complaining about the non-breaking space
                                  entity, and an illegal string error (in FF 1.5).

                                  Is the issue you are referring to? If so, it doesn't seem to
                                  related to Dom.getXY, as that method won't make any changes to the
                                  document. If you remove the calendar code and just position the image
                                  relative to the input field, is it accurate?

                                  Thanks,

                                  Matt

                                  Jason Lee wrote:

                                  Reading that back, I hope it didn't come across as
                                  snippy. It wasn't
                                  meant to be. :)

                                  -----
                                  Jason Lee, SCJP
                                  Programmer/Analyst
                                  http://www.iec-okc.com




                                  -----Original Message-----
                                  From: ydn-javascript@yahoogroups.com
                                  [mailto:ydn-javascript@yahoogroups.com] On
                                  Behalf Of Jason Lee
                                  Sent: Friday, October 27, 2006 10:24 AM
                                  To: ydn-javascript@yahoogroups.com
                                  Subject: RE: [ydn-javascript] XHTML Support

                                  Hmm. I *am* on 0.11.4 (though the comments
                                  still say 0.11.3,
                                  but, after downloading the library again, I can
                                  only assume
                                  they forgot to update the comments :).

                                  -----
                                  Jason Lee, SCJP
                                  Programmer/Analyst
                                  http://www.iec-okc.com




                                  -----Original Message-----
                                  From: ydn-javascript@yahoogroups.com
                                  [mailto:ydn-javascript@yahoogroups.com]
                                  On Behalf Of Josh Peters
                                  Sent: Wednesday, October 25, 2006 5:46
                                  PM
                                  To: ydn-javascript@yahoogroups.com
                                  Subject: Re: [ydn-javascript] XHTML
                                  Support

                                  Jason, also be sure to be using YUI
                                  0.11.4. I've looked


                                  through the


                                  code (God bless grep) and there aren't
                                  any .tagName or .nodeName
                                  comparisons that are done incorrectly
                                  (they're all
                                  .tagName.toUpperCase() which is best
                                  practice).

                                  On 10/25/06, Matt Sweeney
                                  <msweeney@...> <mailto:msweeney@...> wrote:






                                  Hi Jason,

                                  Can you provide a working repro
                                  of your issue? This works in my
                                  simple test case (sending
                                  "Content-Type:


                                  application/xhtml+xml" header).


                                  Thanks,

                                  Matt


                                  Jason Lee wrote:

                                  >I don't have specifics, but
                                  here's where it's biting me:
                                  >
                                  > <img id="img_j_id10" ...
                                  />
                                  >...
                                  > var pos =
                                  YAHOO.util.Dom.getXY("img_j_id10");
                                  >
                                  >fails, where
                                  >
                                  >
                                  document.getElementById("img_j_id10");
                                  >
                                  >does not. If I put the exact
                                  same HTML and JS code in a .html
                                  document, >it works fine. In
                                  digging to find the issue, I


                                  ran across


                                  a blog that >indicated an XHTML
                                  issue. Given the only


                                  change that


                                  occurred between >working and
                                  non-working pages was the


                                  switch to


                                  XHTML, I'm assuming >they're
                                  related. I'd be more than


                                  happy to be


                                  proven wrong, though. :) >
                                  >-----
                                  >Jason Lee, SCJP
                                  >Programmer/Analyst
                                  >http://www.iec-okc.com
                                  <http://www.iec-okc.com/> <http://www.iec-okc.com/> > > >


                                  ________________________________
                                  >


                                  > From:
                                  ydn-javascript@yahoogroups.com

                                  >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony


                                  Summerville


                                  > Sent: Wednesday, October
                                  25, 2006 9:55 AM
                                  > To:
                                  ydn-javascript@yahoogroups.com
                                  > Subject: Re:
                                  [ydn-javascript] XHTML Support
                                  >
                                  >
                                  > What specific issues
                                  does YUI have with XHTML pages?
                                  >
                                  >
                                  > On 10/25/06, Jason Lee
                                  <lee@...> <mailto:lee@...> wrote:
                                  >
                                  >
                                  I found out the hard


                                  way yesterday the


                                  >YUI has issues with XHTML
                                  pages, but that support for


                                  that is being


                                  worked on. Any word on how
                                  close that is?


                                  >
                                  > Semi-related, is
                                  there a public repo


                                  from which we can


                                  >pull nightly snapshots?
                                  Public issue tracker, etc? I


                                  haven't been


                                  able >to find either thus
                                  far...
                                  >
                                  > -----
                                  > Jason Lee, SCJP
                                  >
                                  Programmer/Analyst
                                  >
                                  http://www.iec-okc.com <http://www.iec-okc.com/>
                                  <http://www.iec-okc.com/>
                                  >
                                  >
                                  >
                                  >
                                  >Yahoo! Groups Links
                                  >
                                  >
                                  >
                                  >
                                  >
                                  >
                                  >
                                  >







                                  Yahoo! Groups Links








                                  Yahoo! Groups Links










                                  Yahoo! Groups Links
                                • Matt Sweeney
                                  ... Those are errors from the calendar component, likely due to invalid named xml character entities. Please try the positioning without any calendar code to
                                  Message 16 of 23 , Oct 27, 2006
                                    http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar.
                                    js.jsf Line: 2217
                                    <http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar
                                    .js.jsf Line: 2217> ]

                                    Those are errors from the calendar component, likely due to invalid named xml character entities. 

                                    Please try the positioning without any calendar code to isolate the positioning issue.

                                    Matt

                                    Jason Lee wrote:
                                    Ok.  Whew!  I read that back and thought it was a bit terse and might
                                    carry a tone I did not intend. :)
                                     
                                    At any rate, here's the error I'm getting:
                                     
                                    uncaught exception: [Exception... "An invalid or illegal string was
                                    specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"
                                    location:
                                    http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar.
                                    js.jsf Line: 2217
                                    <http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/calendar
                                    .js.jsf Line: 2217> ]
                                     
                                    in this JS:
                                     
                                    var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                    var img_height = parseInt(YAHOO.util.Dom.getStyle("img_j_id10",
                                    "height"));
                                    elem = YAHOO.util.Dom.get("j_id10");
                                     
                                    elem.style.top = pos[1] + img_height - 1 + "px";
                                    elem.style.left = pos[0] + "px";
                                     
                                    because pos is false.  YAHOO.util.Dom.getXY("img_j_id10") is failing to
                                    find img_j_id10, though it's clearly in the DOM
                                    (document.getElementById() finds it).  To be more accurate, though, it
                                    finds it ok (YAHOO.util.Dom.get() works), but the method can't calculate
                                    the offset because el.offsetParent is null in line 192 of 
                                    
                                    http://dev.steeplesoft.com:8080/JsfTestApp/static/META-INF/yui/dom.js.js
                                    f
                                    
                                    IE (6) doesn't give me any errors, but it also doesn't just doesn't
                                    work.
                                     
                                    -----
                                    Jason Lee, SCJP
                                    Programmer/Analyst
                                    http://www.iec-okc.com <http://www.iec-okc.com/> 
                                     
                                    
                                    
                                    ________________________________
                                    
                                    	From: ydn-javascript@yahoogroups.com
                                    [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                    	Sent: Friday, October 27, 2006 12:46 PM
                                    	To: ydn-javascript@yahoogroups.com
                                    	Subject: Re: [ydn-javascript] XHTML Support
                                    	
                                    	
                                    	Hey Jason,
                                    	
                                    	No offense taken.
                                    	
                                    	I loaded the url you sent, and am not sure what am I looking
                                    for.  I see 2 js errors, one complaining about the non-breaking space
                                    entity, and an illegal string error (in FF 1.5).
                                    	
                                    	Is the issue you are referring to?  If so, it doesn't seem to
                                    related to Dom.getXY, as that method won't make any changes to the
                                    document.  If you remove the calendar code and just position the image
                                    relative to the input field, is it accurate?
                                    	
                                    	Thanks,
                                    	
                                    	Matt
                                    	
                                    	Jason Lee wrote: 
                                    
                                    		Reading that back, I hope it didn't come across as
                                    snippy.  It wasn't
                                    		meant to be. :)
                                    		
                                    		-----
                                    		Jason Lee, SCJP
                                    		Programmer/Analyst
                                    		http://www.iec-okc.com
                                    		 
                                    		
                                    		  
                                    
                                    			-----Original Message-----
                                    			From: ydn-javascript@yahoogroups.com 
                                    			[mailto:ydn-javascript@yahoogroups.com] On
                                    Behalf Of Jason Lee
                                    			Sent: Friday, October 27, 2006 10:24 AM
                                    			To: ydn-javascript@yahoogroups.com
                                    			Subject: RE: [ydn-javascript] XHTML Support
                                    			
                                    			Hmm.  I *am* on 0.11.4 (though the comments
                                    still say 0.11.3, 
                                    			but, after downloading the library again, I can
                                    only assume 
                                    			they forgot to update the comments :).
                                    			
                                    			-----
                                    			Jason Lee, SCJP
                                    			Programmer/Analyst
                                    			http://www.iec-okc.com
                                    			 
                                    			
                                    			    
                                    
                                    				-----Original Message-----
                                    				From: ydn-javascript@yahoogroups.com
                                    				[mailto:ydn-javascript@yahoogroups.com]
                                    On Behalf Of Josh Peters
                                    				Sent: Wednesday, October 25, 2006 5:46
                                    PM
                                    				To: ydn-javascript@yahoogroups.com
                                    				Subject: Re: [ydn-javascript] XHTML
                                    Support
                                    				
                                    				Jason, also be sure to be using YUI
                                    0.11.4.  I've looked 
                                    				      
                                    
                                    			through the 
                                    			    
                                    
                                    				code (God bless grep) and there aren't
                                    any .tagName or .nodeName 
                                    				comparisons that are done incorrectly
                                    (they're all
                                    				.tagName.toUpperCase() which is best
                                    practice).
                                    				
                                    				On 10/25/06, Matt Sweeney
                                    <msweeney@...> <mailto:msweeney@...>  wrote:
                                    				      
                                    
                                    					
                                    					
                                    					
                                    					
                                    					Hi Jason,
                                    					
                                    					 Can you provide a working repro
                                    of your issue?  This works in my 
                                    					simple  test case (sending
                                    "Content-Type:
                                    					        
                                    
                                    				application/xhtml+xml" header).
                                    				      
                                    
                                    					 Thanks,
                                    					
                                    					 Matt
                                    					
                                    					
                                    					 Jason Lee wrote:
                                    					
                                    					 >I don't have specifics, but
                                    here's where it's biting me:
                                    					 >
                                    					 >	<img id="img_j_id10" ...
                                    />
                                    					 >...
                                    					 >	var pos =
                                    YAHOO.util.Dom.getXY("img_j_id10");
                                    					 >	
                                    					 >fails, where
                                    					 >
                                    					 >
                                    document.getElementById("img_j_id10");
                                    					 >
                                    					 >does not.  If I put the exact
                                    same HTML and JS code in a .html 
                                    					document,  >it works fine.  In
                                    digging to find the issue, I
                                    					        
                                    
                                    				ran across
                                    				      
                                    
                                    					a blog that  >indicated an XHTML
                                    issue.  Given the only 
                                    					        
                                    
                                    			change that 
                                    			    
                                    
                                    					occurred between  >working and
                                    non-working pages was the 
                                    					        
                                    
                                    			switch to 
                                    			    
                                    
                                    					XHTML, I'm assuming  >they're
                                    related.  I'd be more than
                                    					        
                                    
                                    				happy to be
                                    				      
                                    
                                    					proven wrong, though. :)  >
                                    					 >-----
                                    					 >Jason Lee, SCJP
                                    					 >Programmer/Analyst
                                    					 >http://www.iec-okc.com
                                    <http://www.iec-okc.com/> <http://www.iec-okc.com/>   >  >  >
                                    					        
                                    
                                    					________________________________
                                      
                                    					          
                                    
                                    					 >	From:
                                    ydn-javascript@yahoogroups.com
                                    	
                                      
                                    [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony
                                        
                                    					        
                                    
                                    				Summerville
                                    				      
                                    
                                    					 >	Sent: Wednesday, October
                                    25, 2006 9:55 AM
                                    					 >	To:
                                    ydn-javascript@yahoogroups.com
                                    					 >	Subject: Re:
                                    [ydn-javascript] XHTML Support
                                    					 >	
                                    					 >	
                                    					 >	What specific issues
                                    does YUI have with XHTML pages?
                                    					 >	
                                    					 >	
                                    					 >	On 10/25/06, Jason Lee
                                    <lee@...> <mailto:lee@...>  wrote:
                                    					 >
                                    					 >
                                    I found out the hard 
                                    					        
                                    
                                    			way yesterday the
                                    			    
                                    
                                    					 >YUI has issues with XHTML
                                    pages, but that support for
                                    					        
                                    
                                    				that is being
                                    				      
                                    
                                    					worked on.  Any word on how
                                    close that is?
                                    					          
                                    
                                    					 >		
                                    					 >		Semi-related, is
                                    there a public repo 
                                    					        
                                    
                                    			from which we can
                                    			    
                                    
                                    					 >pull nightly snapshots?
                                    Public issue tracker, etc?  I
                                    					        
                                    
                                    				haven't been
                                    				      
                                    
                                    					able  >to find either thus
                                    far...
                                    					 >		
                                    					 >		-----
                                    					 >		Jason Lee, SCJP
                                    					 >
                                    Programmer/Analyst
                                    					 >
                                    http://www.iec-okc.com <http://www.iec-okc.com/>
                                    <http://www.iec-okc.com/> 
                                    					 >		
                                    					 >
                                    					 >
                                    					 >
                                    					 >Yahoo! Groups Links
                                    					 >
                                    					 >
                                    					 >
                                    					 >
                                    					 >
                                    					 >
                                    					 >
                                    					 >
                                    					
                                    					
                                    					
                                    					                  
                                    					        
                                    
                                    				 
                                    				Yahoo! Groups Links
                                    				
                                    				
                                    				
                                    				
                                    				
                                    				      
                                    
                                    			 
                                    			Yahoo! Groups Links
                                    			
                                    			
                                    			
                                    			
                                    			
                                    			    
                                    
                                    		
                                    		
                                    		 
                                    		Yahoo! Groups Links
                                    		
                                    		
                                    		
                                    		
                                    		
                                    		
                                    		  
                                    
                                    
                                    	 
                                    
                                    
                                    
                                    
                                     
                                    Yahoo! Groups Links
                                    
                                    <*> To visit your group on the web, go to:
                                        http://groups.yahoo.com/group/ydn-javascript/
                                    
                                    <*> Your email settings:
                                        Individual Email | Traditional
                                    
                                    <*> To change settings online go to:
                                        http://groups.yahoo.com/group/ydn-javascript/join
                                        (Yahoo! ID required)
                                    
                                    <*> To change settings via email:
                                        mailto:ydn-javascript-digest@yahoogroups.com 
                                        mailto:ydn-javascript-fullfeatured@yahoogroups.com
                                    
                                    <*> To unsubscribe from this group, send an email to:
                                        ydn-javascript-unsubscribe@yahoogroups.com
                                    
                                    <*> Your use of Yahoo! Groups is subject to:
                                        http://docs.yahoo.com/info/terms/
                                     
                                    
                                    
                                    
                                      

                                  • Jason Lee
                                    Ok. I finally have a small test case to reproduce. I think the problem is the use of   in calendar.js. If I replace   with   the problem goes
                                    Message 17 of 23 , Nov 1, 2006
                                      Ok. I finally have a small test case to reproduce. I think the problem
                                      is the use of   in calendar.js. If I replace   with  
                                      the problem goes away. Look here:

                                      http://blogs.steeplesoft.com/cal/

                                      The important files are the XHTML links. They're basic XHTML files with
                                      the .xhtml ending to force Apache to send the XHTML mime type. The HTML
                                      files are symlinks to the .xhtml files, but with .html suffixes to force
                                      the HTML mime type. Same files. Different mime types. Different
                                      results. The "fixed" column has the entity change, while the "broken"
                                      column has the calendar.js straight from the 0.11.4 archive.

                                      It's also interesting to note that, while the "fixed" version renders,
                                      it's pretty ugly and unusable in Firefox, but looks as expected in IE.
                                      While that's not directly related to the issue at hand, if anyone has
                                      any suggestions for fixing that, I'm all ears.

                                      Thanks!

                                      -----
                                      Jason Lee, SCJP
                                      Programmer/Analyst
                                      http://www.iec-okc.com


                                      > -----Original Message-----
                                      > From: ydn-javascript@yahoogroups.com
                                      > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                      > Sent: Wednesday, October 25, 2006 1:51 PM
                                      > To: ydn-javascript@yahoogroups.com
                                      > Subject: Re: [ydn-javascript] XHTML Support
                                      >
                                      > Hi Jason,
                                      >
                                      > Can you provide a working repro of your issue? This works in
                                      > my simple test case (sending "Content-Type:
                                      > application/xhtml+xml" header).
                                      >
                                      > Thanks,
                                      >
                                      > Matt
                                      >
                                      > Jason Lee wrote:
                                      >
                                      > >I don't have specifics, but here's where it's biting me:
                                      > >
                                      > > <img id="img_j_id10" ... />
                                      > >...
                                      > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                      > >
                                      > >fails, where
                                      > >
                                      > > document.getElementById("img_j_id10");
                                      > >
                                      > >does not. If I put the exact same HTML and JS code in a .html
                                      > >document, it works fine. In digging to find the issue, I
                                      > ran across a
                                      > >blog that indicated an XHTML issue. Given the only change that
                                      > >occurred between working and non-working pages was the
                                      > switch to XHTML,
                                      > >I'm assuming they're related. I'd be more than happy to be proven
                                      > >wrong, though. :)
                                      > >
                                      > >-----
                                      > >Jason Lee, SCJP
                                      > >Programmer/Analyst
                                      > >http://www.iec-okc.com <http://www.iec-okc.com/>
                                      > >
                                      > >
                                      > >
                                      > >________________________________
                                      > >
                                      > > From: ydn-javascript@yahoogroups.com
                                      > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
                                      > > Sent: Wednesday, October 25, 2006 9:55 AM
                                      > > To: ydn-javascript@yahoogroups.com
                                      > > Subject: Re: [ydn-javascript] XHTML Support
                                      > >
                                      > >
                                      > > What specific issues does YUI have with XHTML pages?
                                      > >
                                      > >
                                      > > On 10/25/06, Jason Lee <lee@...> wrote:
                                      > >
                                      > > I found out the hard way
                                      > yesterday the YUI has issues with XHTML
                                      > >pages, but that support for that is being worked on. Any
                                      > word on how
                                      > >close that is?
                                      > >
                                      > > Semi-related, is there a public repo from which
                                      > we can pull nightly
                                      > >snapshots? Public issue tracker, etc? I haven't been able to find
                                      > >either thus far...
                                      > >
                                      > > -----
                                      > > Jason Lee, SCJP
                                      > > Programmer/Analyst
                                      > > http://www.iec-okc.com <http://www.iec-okc.com/>
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >Yahoo! Groups Links
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      > >
                                      >
                                      >
                                      >
                                      >
                                      > Yahoo! Groups Links
                                      >
                                      >
                                      >
                                      >
                                      >
                                    • foti-1@comcast.net
                                      Firebug reports: XML Parsing Error: undefined entity Location: Line Number 1, Column 41: uncaught exception: [Exception... An invalid or illegal string was
                                      Message 18 of 23 , Nov 1, 2006
                                        Firebug reports:

                                        XML Parsing Error: undefined entity Location: Line Number 1, Column 41:
                                        uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://blogs.steeplesoft.com/cal/calendar-orig.js Line: 2179"]

                                        Which is this line:
                                        this.linkLeft.innerHTML = " ";


                                        -------------- Original message ----------------------
                                        From: "Jason Lee" <lee@...>
                                        > Ok. I finally have a small test case to reproduce. I think the problem
                                        > is the use of   in calendar.js. If I replace   with  
                                        > the problem goes away. Look here:
                                        >
                                        > http://blogs.steeplesoft.com/cal/
                                        >
                                        > The important files are the XHTML links. They're basic XHTML files with
                                        > the .xhtml ending to force Apache to send the XHTML mime type. The HTML
                                        > files are symlinks to the .xhtml files, but with .html suffixes to force
                                        > the HTML mime type. Same files. Different mime types. Different
                                        > results. The "fixed" column has the entity change, while the "broken"
                                        > column has the calendar.js straight from the 0.11.4 archive.
                                        >
                                        > It's also interesting to note that, while the "fixed" version renders,
                                        > it's pretty ugly and unusable in Firefox, but looks as expected in IE.
                                        > While that's not directly related to the issue at hand, if anyone has
                                        > any suggestions for fixing that, I'm all ears.
                                        >
                                        > Thanks!
                                        >
                                        > -----
                                        > Jason Lee, SCJP
                                        > Programmer/Analyst
                                        > http://www.iec-okc.com
                                        >
                                        >
                                        > > -----Original Message-----
                                        > > From: ydn-javascript@yahoogroups.com
                                        > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                        > > Sent: Wednesday, October 25, 2006 1:51 PM
                                        > > To: ydn-javascript@yahoogroups.com
                                        > > Subject: Re: [ydn-javascript] XHTML Support
                                        > >
                                        > > Hi Jason,
                                        > >
                                        > > Can you provide a working repro of your issue? This works in
                                        > > my simple test case (sending "Content-Type:
                                        > > application/xhtml+xml" header).
                                        > >
                                        > > Thanks,
                                        > >
                                        > > Matt
                                        > >
                                        > > Jason Lee wrote:
                                        > >
                                        > > >I don't have specifics, but here's where it's biting me:
                                        > > >
                                        > > > <img id="img_j_id10" ... />
                                        > > >...
                                        > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                        > > >
                                        > > >fails, where
                                        > > >
                                        > > > document.getElementById("img_j_id10");
                                        > > >
                                        > > >does not. If I put the exact same HTML and JS code in a .html
                                        > > >document, it works fine. In digging to find the issue, I
                                        > > ran across a
                                        > > >blog that indicated an XHTML issue. Given the only change that
                                        > > >occurred between working and non-working pages was the
                                        > > switch to XHTML,
                                        > > >I'm assuming they're related. I'd be more than happy to be proven
                                        > > >wrong, though. :)
                                        > > >
                                        > > >-----
                                        > > >Jason Lee, SCJP
                                        > > >Programmer/Analyst
                                        > > >http://www.iec-okc.com <http://www.iec-okc.com/>
                                        > > >
                                        > > >
                                        > > >
                                        > > >________________________________
                                        > > >
                                        > > > From: ydn-javascript@yahoogroups.com
                                        > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of Tony Summerville
                                        > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                        > > > To: ydn-javascript@yahoogroups.com
                                        > > > Subject: Re: [ydn-javascript] XHTML Support
                                        > > >
                                        > > >
                                        > > > What specific issues does YUI have with XHTML pages?
                                        > > >
                                        > > >
                                        > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                        > > >
                                        > > > I found out the hard way
                                        > > yesterday the YUI has issues with XHTML
                                        > > >pages, but that support for that is being worked on. Any
                                        > > word on how
                                        > > >close that is?
                                        > > >
                                        > > > Semi-related, is there a public repo from which
                                        > > we can pull nightly
                                        > > >snapshots? Public issue tracker, etc? I haven't been able to find
                                        > > >either thus far...
                                        > > >
                                        > > > -----
                                        > > > Jason Lee, SCJP
                                        > > > Programmer/Analyst
                                        > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > > >Yahoo! Groups Links
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        > > Yahoo! Groups Links
                                        > >
                                        > >
                                        > >
                                        > >
                                        > >
                                        >
                                      • Jason Lee
                                        Right. That s the issue I m fighting, and it appears to be due to the use of   (in FF only). Using   resolves the isssue. Take a look at the same
                                        Message 19 of 23 , Nov 1, 2006
                                          Right. That's the issue I'm fighting, and it appears to be due to the
                                          use of   (in FF only). Using   resolves the isssue. Take a
                                          look at the same line in
                                          http://blogs.steeplesoft.com/cal/calendar-fixed.js.

                                          -----
                                          Jason Lee, SCJP
                                          Programmer/Analyst
                                          http://www.iec-okc.com


                                          > -----Original Message-----
                                          > From: ydn-javascript@yahoogroups.com
                                          > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                          > foti-1@...
                                          > Sent: Wednesday, November 01, 2006 3:13 PM
                                          > To: ydn-javascript@yahoogroups.com
                                          > Subject: RE: [ydn-javascript] XHTML Support
                                          >
                                          > Firebug reports:
                                          >
                                          > XML Parsing Error: undefined entity Location: Line Number 1,
                                          > Column 41:
                                          > uncaught exception: [Exception... "An invalid or illegal
                                          > string was specified" code: "12" nsresult: "0x8053000c
                                          > (NS_ERROR_DOM_SYNTAX_ERR)" location:
                                          > "http://blogs.steeplesoft.com/cal/calendar-orig.js Line: 2179"]
                                          >
                                          > Which is this line:
                                          > this.linkLeft.innerHTML = " ";
                                          >
                                          >
                                          > -------------- Original message ----------------------
                                          > From: "Jason Lee" <lee@...>
                                          > > Ok. I finally have a small test case to reproduce. I think the
                                          > > problem is the use of   in calendar.js. If I replace
                                          >   with
                                          > >   the problem goes away. Look here:
                                          > >
                                          > > http://blogs.steeplesoft.com/cal/
                                          > >
                                          > > The important files are the XHTML links. They're basic XHTML files
                                          > > with the .xhtml ending to force Apache to send the XHTML
                                          > mime type.
                                          > > The HTML files are symlinks to the .xhtml files, but with .html
                                          > > suffixes to force the HTML mime type. Same files. Different mime
                                          > > types. Different results. The "fixed" column has the
                                          > entity change, while the "broken"
                                          > > column has the calendar.js straight from the 0.11.4 archive.
                                          > >
                                          > > It's also interesting to note that, while the "fixed"
                                          > version renders,
                                          > > it's pretty ugly and unusable in Firefox, but looks as
                                          > expected in IE.
                                          > > While that's not directly related to the issue at hand, if
                                          > anyone has
                                          > > any suggestions for fixing that, I'm all ears.
                                          > >
                                          > > Thanks!
                                          > >
                                          > > -----
                                          > > Jason Lee, SCJP
                                          > > Programmer/Analyst
                                          > > http://www.iec-okc.com
                                          > >
                                          > >
                                          > > > -----Original Message-----
                                          > > > From: ydn-javascript@yahoogroups.com
                                          > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                          > > > Sent: Wednesday, October 25, 2006 1:51 PM
                                          > > > To: ydn-javascript@yahoogroups.com
                                          > > > Subject: Re: [ydn-javascript] XHTML Support
                                          > > >
                                          > > > Hi Jason,
                                          > > >
                                          > > > Can you provide a working repro of your issue? This works in my
                                          > > > simple test case (sending "Content-Type:
                                          > > > application/xhtml+xml" header).
                                          > > >
                                          > > > Thanks,
                                          > > >
                                          > > > Matt
                                          > > >
                                          > > > Jason Lee wrote:
                                          > > >
                                          > > > >I don't have specifics, but here's where it's biting me:
                                          > > > >
                                          > > > > <img id="img_j_id10" ... />
                                          > > > >...
                                          > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                          > > > >
                                          > > > >fails, where
                                          > > > >
                                          > > > > document.getElementById("img_j_id10");
                                          > > > >
                                          > > > >does not. If I put the exact same HTML and JS code in a .html
                                          > > > >document, it works fine. In digging to find the issue, I
                                          > > > ran across a
                                          > > > >blog that indicated an XHTML issue. Given the only change that
                                          > > > >occurred between working and non-working pages was the
                                          > > > switch to XHTML,
                                          > > > >I'm assuming they're related. I'd be more than happy to
                                          > be proven
                                          > > > >wrong, though. :)
                                          > > > >
                                          > > > >-----
                                          > > > >Jason Lee, SCJP
                                          > > > >Programmer/Analyst
                                          > > > >http://www.iec-okc.com <http://www.iec-okc.com/>
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >________________________________
                                          > > > >
                                          > > > > From: ydn-javascript@yahoogroups.com
                                          > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                          > Tony Summerville
                                          > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                          > > > > To: ydn-javascript@yahoogroups.com
                                          > > > > Subject: Re: [ydn-javascript] XHTML Support
                                          > > > >
                                          > > > >
                                          > > > > What specific issues does YUI have with XHTML pages?
                                          > > > >
                                          > > > >
                                          > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                          > > > >
                                          > > > > I found out the hard way
                                          > > > yesterday the YUI has issues with XHTML
                                          > > > >pages, but that support for that is being worked on. Any
                                          > > > word on how
                                          > > > >close that is?
                                          > > > >
                                          > > > > Semi-related, is there a public repo from which
                                          > > > we can pull nightly
                                          > > > >snapshots? Public issue tracker, etc? I haven't been
                                          > able to find
                                          > > > >either thus far...
                                          > > > >
                                          > > > > -----
                                          > > > > Jason Lee, SCJP
                                          > > > > Programmer/Analyst
                                          > > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >Yahoo! Groups Links
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > > Yahoo! Groups Links
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > > >
                                          > >
                                          >
                                          >
                                          >
                                          >
                                          >
                                          > Yahoo! Groups Links
                                          >
                                          >
                                          >
                                          >
                                        • Josh Peters
                                          ... It s definitely a named entity error. I m also experiencing some serious bugs with createElement using uppercase node names. Changing everything to
                                          Message 20 of 23 , Nov 2, 2006
                                            On 11/1/06, Jason Lee <lee@...> wrote:
                                            > Right. That's the issue I'm fighting, and it appears to be due to the
                                            > use of   (in FF only). Using   resolves the isssue. Take a
                                            > look at the same line in
                                            > http://blogs.steeplesoft.com/cal/calendar-fixed.js.

                                            It's definitely a named entity error. I'm also experiencing some
                                            serious bugs with createElement using uppercase node names. Changing
                                            everything to lowercase works properly. I've submitted a patch to the
                                            YUI sourceforge site explaining the changes that needed to be made.

                                            There's a much larger issue to be dealt with across all of YUI though.
                                            It seems that ANY node names need to be lower case in order to
                                            function properly throughout any application/xhtml+xml mime type
                                            pages.

                                            Any calls to getElementsByTagName and createElement need lower case
                                            parameters if they are to work in pages served as
                                            application/xhtml+xml.

                                            Good catch.

                                            > > -----Original Message-----
                                            > > From: ydn-javascript@yahoogroups.com
                                            > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                            > > foti-1@...
                                            > > Sent: Wednesday, November 01, 2006 3:13 PM
                                            > > To: ydn-javascript@yahoogroups.com
                                            > > Subject: RE: [ydn-javascript] XHTML Support
                                            > >
                                            >
                                            > > Firebug reports:
                                            > >
                                            > > XML Parsing Error: undefined entity Location: Line Number 1,
                                            > > Column 41:
                                            > > uncaught exception: [Exception... "An invalid or illegal
                                            > > string was specified" code: "12" nsresult: "0x8053000c
                                            > > (NS_ERROR_DOM_SYNTAX_ERR)" location:
                                            > > "http://blogs.steeplesoft.com/cal/calendar-orig.js Line: 2179"]
                                            > >
                                            > > Which is this line:
                                            > > this.linkLeft.innerHTML = " ";
                                            > >
                                            > >
                                            > > -------------- Original message ----------------------
                                            > > From: "Jason Lee" <lee@...>
                                            > > > Ok. I finally have a small test case to reproduce. I think the
                                            > > > problem is the use of   in calendar.js. If I replace
                                            > >   with
                                            > > >   the problem goes away. Look here:
                                            > > >
                                            > > > http://blogs.steeplesoft.com/cal/
                                            > > >
                                            > > > The important files are the XHTML links. They're basic XHTML files
                                            > > > with the .xhtml ending to force Apache to send the XHTML
                                            > > mime type.
                                            > > > The HTML files are symlinks to the .xhtml files, but with .html
                                            > > > suffixes to force the HTML mime type. Same files. Different mime
                                            > > > types. Different results. The "fixed" column has the
                                            > > entity change, while the "broken"
                                            > > > column has the calendar.js straight from the 0.11.4 archive.
                                            > > >
                                            > > > It's also interesting to note that, while the "fixed"
                                            > > version renders,
                                            > > > it's pretty ugly and unusable in Firefox, but looks as
                                            > > expected in IE.
                                            > > > While that's not directly related to the issue at hand, if
                                            > > anyone has
                                            > > > any suggestions for fixing that, I'm all ears.
                                            > > >
                                            > > > Thanks!
                                            > > >
                                            > > > -----
                                            > > > Jason Lee, SCJP
                                            > > > Programmer/Analyst
                                            > > > http://www.iec-okc.com
                                            > > >
                                            > > >
                                            > > > > -----Original Message-----
                                            > > > > From: ydn-javascript@yahoogroups.com
                                            > > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                            > > > > Sent: Wednesday, October 25, 2006 1:51 PM
                                            > > > > To: ydn-javascript@yahoogroups.com
                                            > > > > Subject: Re: [ydn-javascript] XHTML Support
                                            > > > >
                                            > > > > Hi Jason,
                                            > > > >
                                            > > > > Can you provide a working repro of your issue? This works in my
                                            > > > > simple test case (sending "Content-Type:
                                            > > > > application/xhtml+xml" header).
                                            > > > >
                                            > > > > Thanks,
                                            > > > >
                                            > > > > Matt
                                            > > > >
                                            > > > > Jason Lee wrote:
                                            > > > >
                                            > > > > >I don't have specifics, but here's where it's biting me:
                                            > > > > >
                                            > > > > > <img id="img_j_id10" ... />
                                            > > > > >...
                                            > > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                            > > > > >
                                            > > > > >fails, where
                                            > > > > >
                                            > > > > > document.getElementById("img_j_id10");
                                            > > > > >
                                            > > > > >does not. If I put the exact same HTML and JS code in a .html
                                            > > > > >document, it works fine. In digging to find the issue, I
                                            > > > > ran across a
                                            > > > > >blog that indicated an XHTML issue. Given the only change that
                                            > > > > >occurred between working and non-working pages was the
                                            > > > > switch to XHTML,
                                            > > > > >I'm assuming they're related. I'd be more than happy to
                                            > > be proven
                                            > > > > >wrong, though. :)
                                            > > > > >
                                            > > > > >-----
                                            > > > > >Jason Lee, SCJP
                                            > > > > >Programmer/Analyst
                                            > > > > >http://www.iec-okc.com <http://www.iec-okc.com/>
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >________________________________
                                            > > > > >
                                            > > > > > From: ydn-javascript@yahoogroups.com
                                            > > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                            > > Tony Summerville
                                            > > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                            > > > > > To: ydn-javascript@yahoogroups.com
                                            > > > > > Subject: Re: [ydn-javascript] XHTML Support
                                            > > > > >
                                            > > > > >
                                            > > > > > What specific issues does YUI have with XHTML pages?
                                            > > > > >
                                            > > > > >
                                            > > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                            > > > > >
                                            > > > > > I found out the hard way
                                            > > > > yesterday the YUI has issues with XHTML
                                            > > > > >pages, but that support for that is being worked on. Any
                                            > > > > word on how
                                            > > > > >close that is?
                                            > > > > >
                                            > > > > > Semi-related, is there a public repo from which
                                            > > > > we can pull nightly
                                            > > > > >snapshots? Public issue tracker, etc? I haven't been
                                            > > able to find
                                            > > > > >either thus far...
                                            > > > > >
                                            > > > > > -----
                                            > > > > > Jason Lee, SCJP
                                            > > > > > Programmer/Analyst
                                            > > > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >Yahoo! Groups Links
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > > >
                                            > > > >
                                            > > > >
                                            > > > >
                                            > > > >
                                            > > > > Yahoo! Groups Links
                                            > > > >
                                            > > > >
                                            > > > >
                                            > > > >
                                            > > > >
                                            > > >
                                            > >
                                            > >
                                            > >
                                            > >
                                            > >
                                            > > Yahoo! Groups Links
                                            > >
                                            > >
                                            > >
                                            > >
                                            >
                                            >
                                            >
                                          • Josh Peters
                                            Okay, I ve submitted a patch fixing all 12! spots in YUI 0.11.4 where XHTML bugs will occur.
                                            Message 21 of 23 , Nov 2, 2006
                                              Okay, I've submitted a patch fixing all 12! spots in YUI 0.11.4 where
                                              XHTML bugs will occur.

                                              https://sourceforge.net/tracker/index.php?func=detail&aid=1589408&group_id=165715&atid=836478

                                              Hope this helps (and gets accepted into YUI for 0.11.5).

                                              On 11/2/06, Josh Peters <jcpeters@...> wrote:
                                              > On 11/1/06, Jason Lee <lee@...> wrote:
                                              > > Right. That's the issue I'm fighting, and it appears to be due to the
                                              > > use of   (in FF only). Using   resolves the isssue. Take a
                                              > > look at the same line in
                                              > > http://blogs.steeplesoft.com/cal/calendar-fixed.js.
                                              >
                                              > It's definitely a named entity error. I'm also experiencing some
                                              > serious bugs with createElement using uppercase node names. Changing
                                              > everything to lowercase works properly. I've submitted a patch to the
                                              > YUI sourceforge site explaining the changes that needed to be made.
                                              >
                                              > There's a much larger issue to be dealt with across all of YUI though.
                                              > It seems that ANY node names need to be lower case in order to
                                              > function properly throughout any application/xhtml+xml mime type
                                              > pages.
                                              >
                                              > Any calls to getElementsByTagName and createElement need lower case
                                              > parameters if they are to work in pages served as
                                              > application/xhtml+xml.
                                              >
                                              > Good catch.
                                              >
                                              > > > -----Original Message-----
                                              > > > From: ydn-javascript@yahoogroups.com
                                              > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                              > > > foti-1@...
                                              > > > Sent: Wednesday, November 01, 2006 3:13 PM
                                              > > > To: ydn-javascript@yahoogroups.com
                                              > > > Subject: RE: [ydn-javascript] XHTML Support
                                              > > >
                                              > >
                                              > > > Firebug reports:
                                              > > >
                                              > > > XML Parsing Error: undefined entity Location: Line Number 1,
                                              > > > Column 41:
                                              > > > uncaught exception: [Exception... "An invalid or illegal
                                              > > > string was specified" code: "12" nsresult: "0x8053000c
                                              > > > (NS_ERROR_DOM_SYNTAX_ERR)" location:
                                              > > > "http://blogs.steeplesoft.com/cal/calendar-orig.js Line: 2179"]
                                              > > >
                                              > > > Which is this line:
                                              > > > this.linkLeft.innerHTML = " ";
                                              > > >
                                              > > >
                                              > > > -------------- Original message ----------------------
                                              > > > From: "Jason Lee" <lee@...>
                                              > > > > Ok. I finally have a small test case to reproduce. I think the
                                              > > > > problem is the use of   in calendar.js. If I replace
                                              > > >   with
                                              > > > >   the problem goes away. Look here:
                                              > > > >
                                              > > > > http://blogs.steeplesoft.com/cal/
                                              > > > >
                                              > > > > The important files are the XHTML links. They're basic XHTML files
                                              > > > > with the .xhtml ending to force Apache to send the XHTML
                                              > > > mime type.
                                              > > > > The HTML files are symlinks to the .xhtml files, but with .html
                                              > > > > suffixes to force the HTML mime type. Same files. Different mime
                                              > > > > types. Different results. The "fixed" column has the
                                              > > > entity change, while the "broken"
                                              > > > > column has the calendar.js straight from the 0.11.4 archive.
                                              > > > >
                                              > > > > It's also interesting to note that, while the "fixed"
                                              > > > version renders,
                                              > > > > it's pretty ugly and unusable in Firefox, but looks as
                                              > > > expected in IE.
                                              > > > > While that's not directly related to the issue at hand, if
                                              > > > anyone has
                                              > > > > any suggestions for fixing that, I'm all ears.
                                              > > > >
                                              > > > > Thanks!
                                              > > > >
                                              > > > > -----
                                              > > > > Jason Lee, SCJP
                                              > > > > Programmer/Analyst
                                              > > > > http://www.iec-okc.com
                                              > > > >
                                              > > > >
                                              > > > > > -----Original Message-----
                                              > > > > > From: ydn-javascript@yahoogroups.com
                                              > > > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt Sweeney
                                              > > > > > Sent: Wednesday, October 25, 2006 1:51 PM
                                              > > > > > To: ydn-javascript@yahoogroups.com
                                              > > > > > Subject: Re: [ydn-javascript] XHTML Support
                                              > > > > >
                                              > > > > > Hi Jason,
                                              > > > > >
                                              > > > > > Can you provide a working repro of your issue? This works in my
                                              > > > > > simple test case (sending "Content-Type:
                                              > > > > > application/xhtml+xml" header).
                                              > > > > >
                                              > > > > > Thanks,
                                              > > > > >
                                              > > > > > Matt
                                              > > > > >
                                              > > > > > Jason Lee wrote:
                                              > > > > >
                                              > > > > > >I don't have specifics, but here's where it's biting me:
                                              > > > > > >
                                              > > > > > > <img id="img_j_id10" ... />
                                              > > > > > >...
                                              > > > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                              > > > > > >
                                              > > > > > >fails, where
                                              > > > > > >
                                              > > > > > > document.getElementById("img_j_id10");
                                              > > > > > >
                                              > > > > > >does not. If I put the exact same HTML and JS code in a .html
                                              > > > > > >document, it works fine. In digging to find the issue, I
                                              > > > > > ran across a
                                              > > > > > >blog that indicated an XHTML issue. Given the only change that
                                              > > > > > >occurred between working and non-working pages was the
                                              > > > > > switch to XHTML,
                                              > > > > > >I'm assuming they're related. I'd be more than happy to
                                              > > > be proven
                                              > > > > > >wrong, though. :)
                                              > > > > > >
                                              > > > > > >-----
                                              > > > > > >Jason Lee, SCJP
                                              > > > > > >Programmer/Analyst
                                              > > > > > >http://www.iec-okc.com <http://www.iec-okc.com/>
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >________________________________
                                              > > > > > >
                                              > > > > > > From: ydn-javascript@yahoogroups.com
                                              > > > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf Of
                                              > > > Tony Summerville
                                              > > > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                              > > > > > > To: ydn-javascript@yahoogroups.com
                                              > > > > > > Subject: Re: [ydn-javascript] XHTML Support
                                              > > > > > >
                                              > > > > > >
                                              > > > > > > What specific issues does YUI have with XHTML pages?
                                              > > > > > >
                                              > > > > > >
                                              > > > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                              > > > > > >
                                              > > > > > > I found out the hard way
                                              > > > > > yesterday the YUI has issues with XHTML
                                              > > > > > >pages, but that support for that is being worked on. Any
                                              > > > > > word on how
                                              > > > > > >close that is?
                                              > > > > > >
                                              > > > > > > Semi-related, is there a public repo from which
                                              > > > > > we can pull nightly
                                              > > > > > >snapshots? Public issue tracker, etc? I haven't been
                                              > > > able to find
                                              > > > > > >either thus far...
                                              > > > > > >
                                              > > > > > > -----
                                              > > > > > > Jason Lee, SCJP
                                              > > > > > > Programmer/Analyst
                                              > > > > > > http://www.iec-okc.com <http://www.iec-okc.com/>
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >Yahoo! Groups Links
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > > > Yahoo! Groups Links
                                              > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > > >
                                              > > > >
                                              > > >
                                              > > >
                                              > > >
                                              > > >
                                              > > >
                                              > > > Yahoo! Groups Links
                                              > > >
                                              > > >
                                              > > >
                                              > > >
                                              > >
                                              > >
                                              > >
                                              >
                                            • Jason Lee
                                              Ah! The bug tracker! Thanks. :) ... Jason Lee, SCJP Programmer/Analyst http://www.iec-okc.com
                                              Message 22 of 23 , Nov 2, 2006
                                                Ah! The bug tracker! Thanks. :)

                                                -----
                                                Jason Lee, SCJP
                                                Programmer/Analyst
                                                http://www.iec-okc.com


                                                > -----Original Message-----
                                                > From: ydn-javascript@yahoogroups.com
                                                > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Josh Peters
                                                > Sent: Thursday, November 02, 2006 12:04 PM
                                                > To: ydn-javascript@yahoogroups.com
                                                > Subject: Re: [ydn-javascript] XHTML Support
                                                >
                                                > Okay, I've submitted a patch fixing all 12! spots in YUI
                                                > 0.11.4 where XHTML bugs will occur.
                                                >
                                                > https://sourceforge.net/tracker/index.php?func=detail&aid=1589
                                                > 408&group_id=165715&atid=836478
                                                >
                                                > Hope this helps (and gets accepted into YUI for 0.11.5).
                                                >
                                                > On 11/2/06, Josh Peters <jcpeters@...> wrote:
                                                > > On 11/1/06, Jason Lee <lee@...> wrote:
                                                > > > Right. That's the issue I'm fighting, and it appears to
                                                > be due to
                                                > > > the use of   (in FF only). Using   resolves
                                                > the isssue.
                                                > > > Take a look at the same line in
                                                > > > http://blogs.steeplesoft.com/cal/calendar-fixed.js.
                                                > >
                                                > > It's definitely a named entity error. I'm also experiencing some
                                                > > serious bugs with createElement using uppercase node names.
                                                > Changing
                                                > > everything to lowercase works properly. I've submitted a
                                                > patch to the
                                                > > YUI sourceforge site explaining the changes that needed to be made.
                                                > >
                                                > > There's a much larger issue to be dealt with across all of
                                                > YUI though.
                                                > > It seems that ANY node names need to be lower case in order to
                                                > > function properly throughout any application/xhtml+xml mime type
                                                > > pages.
                                                > >
                                                > > Any calls to getElementsByTagName and createElement need lower case
                                                > > parameters if they are to work in pages served as
                                                > > application/xhtml+xml.
                                                > >
                                                > > Good catch.
                                                > >
                                                > > > > -----Original Message-----
                                                > > > > From: ydn-javascript@yahoogroups.com >
                                                > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of >
                                                > > > foti-1@... > Sent: Wednesday, November 01, 2006
                                                > 3:13 PM >
                                                > > > To: ydn-javascript@yahoogroups.com > Subject: RE:
                                                > [ydn-javascript]
                                                > > > XHTML Support >
                                                > > >
                                                > > > > Firebug reports:
                                                > > > >
                                                > > > > XML Parsing Error: undefined entity Location: Line
                                                > Number 1, >
                                                > > > Column 41:
                                                > > > > uncaught exception: [Exception... "An invalid or illegal >
                                                > > > string was specified" code: "12" nsresult: "0x8053000c >
                                                > > > (NS_ERROR_DOM_SYNTAX_ERR)" location:
                                                > > > > "http://blogs.steeplesoft.com/cal/calendar-orig.js
                                                > Line: 2179"]
                                                > > > > > Which is this line:
                                                > > > > this.linkLeft.innerHTML = " "; > > > --------------
                                                > > > Original message ---------------------- > From: "Jason Lee"
                                                > > > <lee@...> > > Ok. I finally have a small test case to
                                                > > > reproduce. I think the > > problem is the use of   in
                                                > > > calendar.js. If I replace >   with > >   the problem
                                                > > > goes away. Look here:
                                                > > > > >
                                                > > > > > http://blogs.steeplesoft.com/cal/ > > > > The
                                                > important files
                                                > > > are the XHTML links. They're basic XHTML files > > with
                                                > the .xhtml
                                                > > > ending to force Apache to send the XHTML > mime type.
                                                > > > > > The HTML files are symlinks to the .xhtml files, but
                                                > with .html
                                                > > > > > suffixes to force the HTML mime type. Same files. Different
                                                > > > mime > > types. Different results. The "fixed" column
                                                > has the >
                                                > > > entity change, while the "broken"
                                                > > > > > column has the calendar.js straight from the 0.11.4 archive.
                                                > > > > >
                                                > > > > > It's also interesting to note that, while the "fixed"
                                                > > > > version renders,
                                                > > > > > it's pretty ugly and unusable in Firefox, but looks as >
                                                > > > expected in IE.
                                                > > > > > While that's not directly related to the issue at
                                                > hand, if >
                                                > > > anyone has > > any suggestions for fixing that, I'm all ears.
                                                > > > > >
                                                > > > > > Thanks!
                                                > > > > >
                                                > > > > > -----
                                                > > > > > Jason Lee, SCJP
                                                > > > > > Programmer/Analyst
                                                > > > > > http://www.iec-okc.com
                                                > > > > >
                                                > > > > >
                                                > > > > > > -----Original Message-----
                                                > > > > > > From: ydn-javascript@yahoogroups.com > > >
                                                > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt
                                                > Sweeney >
                                                > > > > > Sent: Wednesday, October 25, 2006 1:51 PM > > > To:
                                                > > > ydn-javascript@yahoogroups.com > > > Subject: Re:
                                                > [ydn-javascript]
                                                > > > XHTML Support > > > > > > Hi Jason, > > > > > > Can
                                                > you provide
                                                > > > a working repro of your issue? This works in my > > >
                                                > simple test
                                                > > > case (sending "Content-Type:
                                                > > > > > > application/xhtml+xml" header).
                                                > > > > > >
                                                > > > > > > Thanks,
                                                > > > > > >
                                                > > > > > > Matt
                                                > > > > > >
                                                > > > > > > Jason Lee wrote:
                                                > > > > > >
                                                > > > > > > >I don't have specifics, but here's where it's biting me:
                                                > > > > > > >
                                                > > > > > > > <img id="img_j_id10" ... />
                                                > > > > > > >...
                                                > > > > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                                > > > > > > >
                                                > > > > > > >fails, where
                                                > > > > > > >
                                                > > > > > > > document.getElementById("img_j_id10");
                                                > > > > > > >
                                                > > > > > > >does not. If I put the exact same HTML and JS code in a
                                                > > > .html > > > >document, it works fine. In digging to find the
                                                > > > issue, I > > > ran across a > > > >blog that indicated an XHTML
                                                > > > issue. Given the only change that > > > >occurred
                                                > between working
                                                > > > and non-working pages was the > > > switch to XHTML, > > > >I'm
                                                > > > assuming they're related. I'd be more than happy to >
                                                > be proven >
                                                > > > > > >wrong, though. :) > > > > > > > >----- > > > >Jason Lee,
                                                > > > SCJP > > > >Programmer/Analyst > > > >http://www.iec-okc.com
                                                > > > <http://www.iec-okc.com/> > > > > > > > > > > > > > > >
                                                > > > >________________________________ > > > >
                                                > > > > > > > From: ydn-javascript@yahoogroups.com
                                                > > > > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf
                                                > Of > Tony
                                                > > > Summerville
                                                > > > > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                                > > > > > > > To: ydn-javascript@yahoogroups.com
                                                > > > > > > > Subject: Re: [ydn-javascript] XHTML Support
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > > What specific issues does YUI have with XHTML pages?
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                                > > > > > > >
                                                > > > > > > > I found out the hard way
                                                > > > > > > yesterday the YUI has issues with XHTML > > > >pages, but
                                                > > > that support for that is being worked on. Any > > >
                                                > word on how >
                                                > > > > > >close that is?
                                                > > > > > > >
                                                > > > > > > > Semi-related, is there a public
                                                > repo from which
                                                > > > > > > we can pull nightly
                                                > > > > > > >snapshots? Public issue tracker, etc? I haven't been >
                                                > > > able to find > > > >either thus far...
                                                > > > > > > >
                                                > > > > > > > -----
                                                > > > > > > > Jason Lee, SCJP
                                                > > > > > > > Programmer/Analyst
                                                > > > > > > > http://www.iec-okc.com
                                                > <http://www.iec-okc.com/>
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >Yahoo! Groups Links
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > > > Yahoo! Groups Links
                                                > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > > >
                                                > > > > >
                                                > > > >
                                                > > > >
                                                > > > >
                                                > > > >
                                                > > > >
                                                > > > > Yahoo! Groups Links
                                                > > > >
                                                > > > >
                                                > > > >
                                                > > > >
                                                > > >
                                                > > >
                                                > > >
                                                > >
                                                >
                                                >
                                                >
                                                > Yahoo! Groups Links
                                                >
                                                >
                                                >
                                                >
                                                >
                                              • Jason Lee
                                                FWIW, I applied your patches to my copy of calendar.js and that resolved all my issues. I sure hope they put this in 0.11.5. Thanks for your help! :) ...
                                                Message 23 of 23 , Nov 2, 2006
                                                  FWIW, I applied your patches to my copy of calendar.js and that resolved
                                                  all my issues. I sure hope they put this in 0.11.5. Thanks for your
                                                  help! :)

                                                  -----
                                                  Jason Lee, SCJP
                                                  Programmer/Analyst
                                                  http://www.iec-okc.com


                                                  > -----Original Message-----
                                                  > From: ydn-javascript@yahoogroups.com
                                                  > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Josh Peters
                                                  > Sent: Thursday, November 02, 2006 12:04 PM
                                                  > To: ydn-javascript@yahoogroups.com
                                                  > Subject: Re: [ydn-javascript] XHTML Support
                                                  >
                                                  > Okay, I've submitted a patch fixing all 12! spots in YUI
                                                  > 0.11.4 where XHTML bugs will occur.
                                                  >
                                                  > https://sourceforge.net/tracker/index.php?func=detail&aid=1589
                                                  > 408&group_id=165715&atid=836478
                                                  >
                                                  > Hope this helps (and gets accepted into YUI for 0.11.5).
                                                  >
                                                  > On 11/2/06, Josh Peters <jcpeters@...> wrote:
                                                  > > On 11/1/06, Jason Lee <lee@...> wrote:
                                                  > > > Right. That's the issue I'm fighting, and it appears to
                                                  > be due to
                                                  > > > the use of   (in FF only). Using   resolves
                                                  > the isssue.
                                                  > > > Take a look at the same line in
                                                  > > > http://blogs.steeplesoft.com/cal/calendar-fixed.js.
                                                  > >
                                                  > > It's definitely a named entity error. I'm also experiencing some
                                                  > > serious bugs with createElement using uppercase node names.
                                                  > Changing
                                                  > > everything to lowercase works properly. I've submitted a
                                                  > patch to the
                                                  > > YUI sourceforge site explaining the changes that needed to be made.
                                                  > >
                                                  > > There's a much larger issue to be dealt with across all of
                                                  > YUI though.
                                                  > > It seems that ANY node names need to be lower case in order to
                                                  > > function properly throughout any application/xhtml+xml mime type
                                                  > > pages.
                                                  > >
                                                  > > Any calls to getElementsByTagName and createElement need lower case
                                                  > > parameters if they are to work in pages served as
                                                  > > application/xhtml+xml.
                                                  > >
                                                  > > Good catch.
                                                  > >
                                                  > > > > -----Original Message-----
                                                  > > > > From: ydn-javascript@yahoogroups.com >
                                                  > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of >
                                                  > > > foti-1@... > Sent: Wednesday, November 01, 2006
                                                  > 3:13 PM >
                                                  > > > To: ydn-javascript@yahoogroups.com > Subject: RE:
                                                  > [ydn-javascript]
                                                  > > > XHTML Support >
                                                  > > >
                                                  > > > > Firebug reports:
                                                  > > > >
                                                  > > > > XML Parsing Error: undefined entity Location: Line
                                                  > Number 1, >
                                                  > > > Column 41:
                                                  > > > > uncaught exception: [Exception... "An invalid or illegal >
                                                  > > > string was specified" code: "12" nsresult: "0x8053000c >
                                                  > > > (NS_ERROR_DOM_SYNTAX_ERR)" location:
                                                  > > > > "http://blogs.steeplesoft.com/cal/calendar-orig.js
                                                  > Line: 2179"]
                                                  > > > > > Which is this line:
                                                  > > > > this.linkLeft.innerHTML = " "; > > > --------------
                                                  > > > Original message ---------------------- > From: "Jason Lee"
                                                  > > > <lee@...> > > Ok. I finally have a small test case to
                                                  > > > reproduce. I think the > > problem is the use of   in
                                                  > > > calendar.js. If I replace >   with > >   the problem
                                                  > > > goes away. Look here:
                                                  > > > > >
                                                  > > > > > http://blogs.steeplesoft.com/cal/ > > > > The
                                                  > important files
                                                  > > > are the XHTML links. They're basic XHTML files > > with
                                                  > the .xhtml
                                                  > > > ending to force Apache to send the XHTML > mime type.
                                                  > > > > > The HTML files are symlinks to the .xhtml files, but
                                                  > with .html
                                                  > > > > > suffixes to force the HTML mime type. Same files. Different
                                                  > > > mime > > types. Different results. The "fixed" column
                                                  > has the >
                                                  > > > entity change, while the "broken"
                                                  > > > > > column has the calendar.js straight from the 0.11.4 archive.
                                                  > > > > >
                                                  > > > > > It's also interesting to note that, while the "fixed"
                                                  > > > > version renders,
                                                  > > > > > it's pretty ugly and unusable in Firefox, but looks as >
                                                  > > > expected in IE.
                                                  > > > > > While that's not directly related to the issue at
                                                  > hand, if >
                                                  > > > anyone has > > any suggestions for fixing that, I'm all ears.
                                                  > > > > >
                                                  > > > > > Thanks!
                                                  > > > > >
                                                  > > > > > -----
                                                  > > > > > Jason Lee, SCJP
                                                  > > > > > Programmer/Analyst
                                                  > > > > > http://www.iec-okc.com
                                                  > > > > >
                                                  > > > > >
                                                  > > > > > > -----Original Message-----
                                                  > > > > > > From: ydn-javascript@yahoogroups.com > > >
                                                  > > > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Matt
                                                  > Sweeney >
                                                  > > > > > Sent: Wednesday, October 25, 2006 1:51 PM > > > To:
                                                  > > > ydn-javascript@yahoogroups.com > > > Subject: Re:
                                                  > [ydn-javascript]
                                                  > > > XHTML Support > > > > > > Hi Jason, > > > > > > Can
                                                  > you provide
                                                  > > > a working repro of your issue? This works in my > > >
                                                  > simple test
                                                  > > > case (sending "Content-Type:
                                                  > > > > > > application/xhtml+xml" header).
                                                  > > > > > >
                                                  > > > > > > Thanks,
                                                  > > > > > >
                                                  > > > > > > Matt
                                                  > > > > > >
                                                  > > > > > > Jason Lee wrote:
                                                  > > > > > >
                                                  > > > > > > >I don't have specifics, but here's where it's biting me:
                                                  > > > > > > >
                                                  > > > > > > > <img id="img_j_id10" ... />
                                                  > > > > > > >...
                                                  > > > > > > > var pos = YAHOO.util.Dom.getXY("img_j_id10");
                                                  > > > > > > >
                                                  > > > > > > >fails, where
                                                  > > > > > > >
                                                  > > > > > > > document.getElementById("img_j_id10");
                                                  > > > > > > >
                                                  > > > > > > >does not. If I put the exact same HTML and JS code in a
                                                  > > > .html > > > >document, it works fine. In digging to find the
                                                  > > > issue, I > > > ran across a > > > >blog that indicated an XHTML
                                                  > > > issue. Given the only change that > > > >occurred
                                                  > between working
                                                  > > > and non-working pages was the > > > switch to XHTML, > > > >I'm
                                                  > > > assuming they're related. I'd be more than happy to >
                                                  > be proven >
                                                  > > > > > >wrong, though. :) > > > > > > > >----- > > > >Jason Lee,
                                                  > > > SCJP > > > >Programmer/Analyst > > > >http://www.iec-okc.com
                                                  > > > <http://www.iec-okc.com/> > > > > > > > > > > > > > > >
                                                  > > > >________________________________ > > > >
                                                  > > > > > > > From: ydn-javascript@yahoogroups.com
                                                  > > > > > > >[mailto:ydn-javascript@yahoogroups.com] On Behalf
                                                  > Of > Tony
                                                  > > > Summerville
                                                  > > > > > > > Sent: Wednesday, October 25, 2006 9:55 AM
                                                  > > > > > > > To: ydn-javascript@yahoogroups.com
                                                  > > > > > > > Subject: Re: [ydn-javascript] XHTML Support
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > > What specific issues does YUI have with XHTML pages?
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > > On 10/25/06, Jason Lee <lee@...> wrote:
                                                  > > > > > > >
                                                  > > > > > > > I found out the hard way
                                                  > > > > > > yesterday the YUI has issues with XHTML > > > >pages, but
                                                  > > > that support for that is being worked on. Any > > >
                                                  > word on how >
                                                  > > > > > >close that is?
                                                  > > > > > > >
                                                  > > > > > > > Semi-related, is there a public
                                                  > repo from which
                                                  > > > > > > we can pull nightly
                                                  > > > > > > >snapshots? Public issue tracker, etc? I haven't been >
                                                  > > > able to find > > > >either thus far...
                                                  > > > > > > >
                                                  > > > > > > > -----
                                                  > > > > > > > Jason Lee, SCJP
                                                  > > > > > > > Programmer/Analyst
                                                  > > > > > > > http://www.iec-okc.com
                                                  > <http://www.iec-okc.com/>
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >Yahoo! Groups Links
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > > Yahoo! Groups Links
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > > >
                                                  > > > > >
                                                  > > > >
                                                  > > > >
                                                  > > > >
                                                  > > > >
                                                  > > > >
                                                  > > > > Yahoo! Groups Links
                                                  > > > >
                                                  > > > >
                                                  > > > >
                                                  > > > >
                                                  > > >
                                                  > > >
                                                  > > >
                                                  > >
                                                  >
                                                  >
                                                  >
                                                  > Yahoo! Groups Links
                                                  >
                                                  >
                                                  >
                                                  >
                                                  >
                                                Your message has been successfully submitted and would be delivered to recipients shortly.