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 > and < 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