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

Invalid Signature when i add a xmlns:xsi attribute #222

Open
SeniorDev1122 opened this issue Feb 17, 2021 · 2 comments
Open

Invalid Signature when i add a xmlns:xsi attribute #222

SeniorDev1122 opened this issue Feb 17, 2021 · 2 comments

Comments

@SeniorDev1122
Copy link

Verify is true when i use this root Element in xml.
var xml = builder.create('EnvioDTE', { encoding: 'ISO-8859-1' })
.att('version', '1.0')
.att('xmlns', 'http://www.sii.cl/SiiDte')

but not true when i use this root Element in xml
var xml = builder.create('EnvioDTE', { encoding: 'ISO-8859-1' })
.att('version', '1.0')
.att('xmlns', 'http://www.sii.cl/SiiDte')
.att('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');
.att('xsi:schemaLocation', 'http://www.sii.cl/SiiDteEnvioDTE_v10.xsd');

@clucher91
Copy link

can you solve that? I have same problem with SII @IT222222

@cjbarth
Copy link
Contributor

cjbarth commented May 29, 2023

@IT222222 , @clucher91 , we'd welcome a PR with a test suite to address this problem. Please consider contributing to the community by creating one.

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

No branches or pull requests

3 participants