[OpenSIPS-Users] use of . dot and colon : in XML node names

xaled at web.de xaled at web.de
Tue Feb 23 15:42:28 EST 2021


Any ideas? Without . dot support in XML item names the opensips XML implementation is useless for IETF RFC conform XML documents. 

-----Original Message-----
From: Users <users-bounces at lists.opensips.org> On Behalf Of xaled at web.de
Sent: Monday, February 22, 2021 12:58 PM
To: 'OpenSIPS users mailling list' <users at lists.opensips.org>
Subject: [OpenSIPS-Users] use of . dot and colon : in XML node names

Hi,

I'm trying to encode an XML MIME body according to rfc7852 and need to use dot and colon in XML node names. Unfortunately I'm getting errors as dot is considered to be aprecial character for .attr and .val. is there are any ways to escape the dot?

https://tools.ietf.org/html/rfc7852#section-4.1.10

$xml(ProviderInfo) = "<emergencyCall.ProviderInfo></emergencyCall.ProviderInfo>";
$xml(ProviderInfo/emergencyCall.ProviderInfo.attr/xmlns) = "urn:ietf:params:xml:ns:emergencyCall.ProviderInfo";

Thanks,
Xaled


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list