ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Error creating and namespace without a prefix

Open ftornero9 opened this issue 7 years ago • 1 comments

I am trying to create a namesapace without a prefix and I get the next runtime error:

image

The third line is the one that trigger the error:

        xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('xsi', 'http://www.w3.org/2001/XMLSchema-instance'));
        xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('xsd', 'http://www.w3.org/2001/XMLSchema'));
        xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('', 'http://www.facturae.es/Facturae/2009/v3.2/Facturae'));  

In the documentation looks like is possible:

image

Regards

ftornero9 avatar Aug 09 '19 20:08 ftornero9

Sorry I put the errro in the wrong place.

ftornero9 avatar Aug 09 '19 20:08 ftornero9