XML parsing error if attribute value contains ampersand #79

Closed
tedbeer opened this Issue Jul 26, 2011 · 3 comments

Comments

Projects
None yet
3 participants
@tedbeer

tedbeer commented Jul 26, 2011

the following command fails with XML parsing error in page but without exception:
ample.query("<span />").attr('title', '&').appendTo(ample.documentElement);It fails at least in FF5 and in Chrome12.

But the following works:


@ilinsky

This comment has been minimized.

Show comment Hide comment
@ilinsky

ilinsky Aug 2, 2011

Owner

Same applies to < and > characters. Also when using text() function

Owner

ilinsky commented Aug 2, 2011

Same applies to < and > characters. Also when using text() function

@1ton

This comment has been minimized.

Show comment Hide comment
@1ton

1ton Aug 2, 2011

Member

cool issue

Member

1ton commented Aug 2, 2011

cool issue

@ilinsky

This comment has been minimized.

Show comment Hide comment
@ilinsky

ilinsky Apr 2, 2012

Owner

Fixed per rev 4fbd537 and 2f15e49

Owner

ilinsky commented Apr 2, 2012

Fixed per rev 4fbd537 and 2f15e49

@ilinsky ilinsky closed this Apr 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment