3 Star 0 Fork 6

src-openEuler/xsd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xsd-xerces_3-2.patch 5.49 KB
一键复制 编辑 原始数据 按行查看 历史
tangjie02 提交于 2021-10-28 16:20 . First submission of source code.
From 442e98604d4158dae11056c4f94aaa655cb480fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= <debian@jff-webhosting.net>
Date: Wed, 8 Nov 2017 20:45:40 +0100
Subject: New 0110-xerces-c3.2.patch, change maintainer email
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
===================================================================
--- xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
+++ xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
@@ -43,7 +43,7 @@ main (int argc, char* argv[])
if (s[0] != "abc" ||
s[1] != "\xE6" ||
s[2] != "\xA2\xA3\xA4\xA5" ||
- s[3] != "???")
+ s[3] != "??")
{
cerr << "invalid encoding" << endl;
return 1;
Index: xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std
===================================================================
--- xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std
+++ xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std
@@ -6 +6 @@
- <a>???</a>
+ <a>??</a>
Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
===================================================================
--- xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
+++ xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
@@ -5,7 +5,7 @@
<a>abc</a>
<a>&#xE6;</a>
<a>&#xA2;&#xA3;&#xA4;&#xA5;</a>
- <a>&#x100;&#xAAAA;&#xAAAAA;</a>
+ <a>&#x100;&#xAAAA;</a>
<b>abc</b>
<b>a&#xE2;c</b>
Index: xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx
===================================================================
--- xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx
+++ xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx
@@ -32,8 +32,7 @@ main (int argc, char* argv[])
if (s[0] != "abc" ||
s[1] != "\xD5\x95" ||
- s[2] != "\xEA\xAA\xAA" ||
- s[3] != "\xF2\xAA\xAA\xAA")
+ s[2] != "\xEA\xAA\xAA")
{
cerr << "invalid encoding" << endl;
return 1;
@@ -45,8 +44,7 @@ main (int argc, char* argv[])
if (s[0] != strenum::abc ||
s[1] != strenum::a_c ||
- s[2] != strenum::cxx_bc ||
- s[3] != strenum::ab_)
+ s[2] != strenum::cxx_bc)
{
cerr << "invalid encoding" << endl;
return 1;
Index: xsd/tests/cxx/tree/encoding/char/utf-8/test.std
===================================================================
--- xsd/tests/cxx/tree/encoding/char/utf-8/test.std
+++ xsd/tests/cxx/tree/encoding/char/utf-8/test.std
@@ -3,9 +3,7 @@
<a>abc</a>
<a>&#x555;</a>
<a>&#xAAAA;</a>
- <a>&#xAAAAA;</a>
<b>abc</b>
<b>a&#x555;c</b>
<b>&#xAAAA;bc</b>
- <b>ab&#xAAAAA;</b>
</t:root>
Index: xsd/tests/cxx/tree/encoding/char/utf-8/test.xml
===================================================================
--- xsd/tests/cxx/tree/encoding/char/utf-8/test.xml
+++ xsd/tests/cxx/tree/encoding/char/utf-8/test.xml
@@ -5,11 +5,9 @@
<a>abc</a>
<a>&#x555;</a>
<a>&#xAAAA;</a>
- <a>&#xAAAAA;</a>
<b>abc</b>
<b>a&#x555;c</b>
<b>&#xAAAA;bc</b>
- <b>ab&#xAAAAA;</b>
</t:root>
Index: xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd
===================================================================
--- xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd
+++ xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd
@@ -9,7 +9,6 @@
abc
a&#x555;c
&#xAAAA;bc
- ab&#xAAAAA;
</documentation>
</annotation>
@@ -17,7 +16,6 @@
<enumeration value="abc"/>
<enumeration value="a&#x555;c"/>
<enumeration value="&#xAAAA;bc"/>
- <enumeration value="ab&#xAAAAA;"/>
</restriction>
</simpleType>
Index: xsd/tests/cxx/tree/encoding/wchar/test.std
===================================================================
--- xsd/tests/cxx/tree/encoding/wchar/test.std
+++ xsd/tests/cxx/tree/encoding/wchar/test.std
@@ -2,9 +2,9 @@
<t:root xmlns:t="test">
<a>abc</a>
<a>&#x1FFF;&#xD7FF;</a>
- <a>&#x10000;&#x10FFFD;</a>
+ <a>&#x1000;&#x10FF;</a>
<b>abc</b>
<b>a&#x1FFF;&#xD7FF;c</b>
- <b>&#x10000;&#x10FFFD;bc</b>
- <b>ab&#x10000;&#x10FFFD;</b>
+ <b>&#x1000;&#x10FF;bc</b>
+ <b>ab&#x1000;&#x10FF;</b>
</t:root>
Index: xsd/tests/cxx/tree/encoding/wchar/test.xml
===================================================================
--- xsd/tests/cxx/tree/encoding/wchar/test.xml
+++ xsd/tests/cxx/tree/encoding/wchar/test.xml
@@ -4,11 +4,11 @@
<a>abc</a>
<a>&#x1FFF;&#xD7FF;</a>
- <a>&#x10000;&#x10FFFD;</a>
+ <a>&#x1000;&#x10FF;</a>
<b>abc</b>
<b>a&#x1FFF;&#xD7FF;c</b>
- <b>&#x10000;&#x10FFFD;bc</b>
- <b>ab&#x10000;&#x10FFFD;</b>
+ <b>&#x1000;&#x10FF;bc</b>
+ <b>ab&#x1000;&#x10FF;</b>
</t:root>
Index: xsd/tests/cxx/tree/encoding/wchar/test.xsd
===================================================================
--- xsd/tests/cxx/tree/encoding/wchar/test.xsd
+++ xsd/tests/cxx/tree/encoding/wchar/test.xsd
@@ -8,16 +8,16 @@
Test enum. Valid values are:
abc
a&#x1FFF;&#xD7FF;c
- &#x10000;&#x10FFFD;bc
- ab&#x10000;&#x10FFFD;
+ &#x1000;&#x10FF;bc
+ ab&#x1000;&#x10FF;
</documentation>
</annotation>
<restriction base="string">
<enumeration value="abc"/>
<enumeration value="a&#x1FFF;&#xD7FF;c"/>
- <enumeration value="&#x10000;&#x10FFFD;bc"/>
- <enumeration value="ab&#x10000;&#x10FFFD;"/>
+ <enumeration value="&#x1000;&#x10FF;bc"/>
+ <enumeration value="ab&#x1000;&#x10FF;"/>
</restriction>
</simpleType>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/xsd.git
git@gitee.com:src-openeuler/xsd.git
src-openeuler
xsd
xsd
master

搜索帮助