To clarify: I'm not suggesting that XML mode is a *bug* (at least not
in a diplomatic setting) -- if this were the source of the error, the
bug would be Prototype's -- just that we do no formal testing for XML
mode, so I wouldn't be surprised if this were the cause.
On Jul 24, 12:47 pm, Andrew Dupont <[EMAIL PROTECTED]> wrote:
> Are you in strict XML mode (XHTML served as application/xhtml+xml)?
> That's the first thing that popped into my head; it may or may not be
> relevant.
>
> Andrew
>
> On Jul 24, 12:26 pm, Michael Peters <[EMAIL PROTECTED]> wrote:
>
> > I'm just trying a simple use of $$()
>
> > $$('#top_nav a.dropdownmenu);
>
> > which I'm sure I've used in other places, but I keep getting the following
> > fatal
> > exception in FF (2.0.0.4)
>
> > uncaught exception: [Exception... "Component returned failure code:
> > 0x80004001
> > (NS_ERROR_NOT_IMPLEMENTED) [nsIDOM3Document.domConfig]" nsresult:
> > "0x80004001
> > (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame
> > ::http://smolder.test/js/prototype.js::anonymous :: line 46" data: no]
>
> > It happens with 1.5.1 and 1.5.1.1 (btw, what's up with all those numbers in
> > the
> > release? was something wrong with just doing a 1.5.2 :)
>
> > I've traced it down to document._getElementsByXPath and this:
>
> > $(parentElement)
>
> > In this case parentElement is the document object. So caling $() on the
> > document
> > causes this exception.
>
> > In fact, I can put $(document) anywhere in my code and will die with this
> > same
> > exception.
>
> > Am I doing something horribly wrong? I didn't see anything in Trac and I
> > haven't
> > seen this before, but for some reason nothing I do can get past this.
>
> > --
> > Michael Peters
> > Developer
> > Plus Three, LP
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---