Validación contiene errores en campos mandatorio en schemalocation

FossilOrigin-Name: 834a1cd8bca356b5794fcaf6cafe5b84adc2a70bc719a25085bae4379a58f038
This commit is contained in:
pingara
2022-05-19 02:18:02 +00:00
parent 6bed600dd4
commit 73bb90b74b
2 changed files with 6 additions and 2 deletions

View File

@@ -91,7 +91,8 @@ class FeXML(FachoXML):
xmlns_name = {v: k for k, v in NAMESPACES.items()}[root_namespace]
return super().tostring(**kw)\
.replace(xmlns_name + ':', '')\
.replace('xmlns:'+xmlns_name, 'xmlns')
.replace('xmlns:'+xmlns_name, 'xmlns')\
.replace('schemaLocation', 'xsi:schemaLocation')
class DianXMLExtensionCUDFE(FachoXMLExtension):