Name : perl-XML-Char
| |
Version : 0.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 16:46:39
|
Group : Development/Libraries/Perl
| Source RPM : perl-XML-Char-0.04-lp155.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Validate Characters for Xml
|
Description :
For me it was kind of a surprised to learn that \'char(0)\' is a valid UTF-8 character. All of the 0-0x7F are...
Emo: well it\'s not because that they are valid utf-8 characters that you have to expect XML to accept them
Well of course not, now I know :-)
http://www.w3.org/TR/REC-xml/#charsets defines which characters XML processors MUST accept:
[2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] /* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */
This module validates if a given string meets this criteria. In addition the string has to be a Perl UTF-8 string (\'is_utf8_string()\' - see perlapi/Unicode-Support).
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-X/15.5/x86_64 |