New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic xinclude duplicates question mark ('?') in href url. #84

Closed
h6w opened this Issue Sep 12, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@h6w
Contributor

h6w commented Sep 12, 2011

If I'm appending some xml with an xinclude in it, ample appears to duplicate the question mark in the url.

e.g.:
js snippet:
var newNode = ample.importNode(resultXML.documentElement,true);
ample.query("#main").append(newNode);

resultXML snippet:
<xi:include href="?type=xul&object=home&part=messages" />

If I run the above code, I get this message in my log:
XHR finished loading: "http://localhost/??type=xul&object=home&part=messages".

This means that the 'type' variable passed becomes the '?type' variable.

@ilinsky

This comment has been minimized.

Show comment
Hide comment
@ilinsky

ilinsky Sep 12, 2011

Member

Fixed in rev 3167020

Member

ilinsky commented Sep 12, 2011

Fixed in rev 3167020

@ilinsky ilinsky closed this Sep 12, 2011

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