From 002ed5ab70bea482420308a4af60aacd46703669 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 15 Apr 2019 18:27:34 -0300 Subject: [PATCH] HOT-FIX: adiciona prefixo xsi a XML do LexML --- sapl/lexml/OAIServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/lexml/OAIServer.py b/sapl/lexml/OAIServer.py index 4c1d85c19..7972e709a 100644 --- a/sapl/lexml/OAIServer.py +++ b/sapl/lexml/OAIServer.py @@ -170,7 +170,7 @@ class OAIServer: if norma and publicador: LEXML = ElementMaker(namespace=self.ns['lexml'], nsmap=self.ns) oai_lexml = LEXML.LexML() - oai_lexml.attrib['{{}}schemaLocation'.format(self.XSI_NS)] = '{} {}'.format( + oai_lexml.attrib['{{{pre}}}schemaLocation'.format(pre=self.XSI_NS)] = '{} {}'.format( 'http://www.lexml.gov.br/oai_lexml', 'http://projeto.lexml.gov.br/esquemas/oai_lexml.xsd') texto_integral = norma.texto_integral mime_types = {'doc': 'application/msword',