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 <[email protected]> On Behalf Of [email protected]
Sent: Monday, February 22, 2021 12:58 PM
To: 'OpenSIPS users mailling list' <[email protected]>
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to