Re: XPath and XUL

Philipp Wagner <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Am 14.07.2012 03:41, schrieb [email protected]:
> I tried putting a simple XPath expression in my XUL file and got a
> message it wasn't well formed pointing at the ">" sign in:
> 
> <template expr="//Agency/Love[position() < 101]">
> 
> So I swapped out the "<" with its entity reference and it crashed my
> browser.

You need to use &gt; and &lt; in XPath expressions. But Firefox should
not crash in any case, so if the crash reporter comes up, please submit
your crash and file a bug report with a reproducible testcase (if you
have) and a link to the crash report (you can get it by going to
about:crashes in Firefox and opening the crash report you submitted before).

Philipp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.