Open SeniorDev1122 opened 3 years ago
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');
can you solve that? I have same problem with SII @IT222222
@IT222222 , @clucher91 , we'd welcome a PR with a test suite to address this problem. Please consider contributing to the community by creating one.
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');