mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mina-vysper] karimhm opened a new pull request #20: Fix the default XML lang tag of `DefaultServerRuntimeContext`
Date Thu, 07 Jan 2021 13:38:27 GMT

karimhm opened a new pull request #20:
URL: https://github.com/apache/mina-vysper/pull/20


   According to [**RFC 6120**](https://xmpp.org/rfcs/rfc6120.html#streams-attr-xmllang) the
`xml:lang` must conform to the language identifier format defined in [**BCP 47, RFC 5646**](https://tools.ietf.org/html/rfc5646).
   
   This PR fixes this issue by changing the previously set value `en_US` to `en`. The country
code is omitted from this PE to prevent future possible issue. The correct format of *US English*
would be`en-US`.
   
   > Some servers will refuse to communicate with `Apache Mina Vysper` if the language
tag is not correct.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Mime
View raw message