Skip to content
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

juise --cgi makes an input document without a dictionary #1

Open
philshafer opened this issue Jun 11, 2013 · 0 comments
Open

juise --cgi makes an input document without a dictionary #1

philshafer opened this issue Jun 11, 2013 · 0 comments
Assignees
Labels

Comments

@philshafer
Copy link
Contributor

juise --cgi makes an input document without a dictionary, which leads to errors like:

element cgi: error : Name is not from the document dictionnary 'cgi'
element content-length: error : Name is not from the document dictionnary 'content-length'
element document-root: error : Name is not from the document dictionnary 'document-root'
element gateway-interface: error : Name is not from the document dictionnary 'gateway-interface'
element redirect-status: error : Name is not from the document dictionnary 'redirect-status'
element remote-addr: error : Name is not from the document dictionnary 'remote-addr'
element remote-port: error : Name is not from the document dictionnary 'remote-port'
element request-method: error : Name is not from the document dictionnary 'request-method'
element request-uri: error : Name is not from the document dictionnary 'request-uri'
element script-filename: error : Name is not from the document dictionnary 'script-filename'
element script-name: error : Name is not from the document dictionnary 'script-name'
element parameters: error : Name is not from the document dictionnary 'parameters'


What steps will reproduce the problem?
1. juise --cgi file.slax
2. ^D
3. see the errors

The transform context has a dictionary, but the input is being made by hand before, so bad news.

Adding a simple fix like "docp->dict = xmlDictCreate()" did not solve the issue. I'm guessing the same dict needs to be used for the doc and the context, but that's just a guess.

@ghost ghost assigned philshafer Jun 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant