Skip to content

malformed request when max option is not defined#2

Open
mef wants to merge 3 commits intoTeehanLax:masterfrom
Mango-information-systems:master
Open

malformed request when max option is not defined#2
mef wants to merge 3 commits intoTeehanLax:masterfrom
Mango-information-systems:master

Conversation

@mef
Copy link
Copy Markdown

@mef mef commented Jan 18, 2013

Example from README.md (basic use, step 4) used to crash the process, whereas running examples.basic.js worked fine.

It turned out that this was because when option "max" is omitted, the XML did not encode any document, as variable length only got defined when max exists.

Attached code fixes this by defining the variable length when max is not set.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant