Skip to content

Commit 00afcef

Browse files
Merge pull request microDreamSheep#6 from microDreamSheep/code
Code
2 parents f1815ce + 90b7241 commit 00afcef

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

SWCJ.jar

-426 KB
Binary file not shown.

src/main/resources/reg/reg.xsd renamed to src/main/resources/reg/reg.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0"?>
22
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3-
elementFormDefault="qualified">
3+
targetNamespace="live.midreamsheep.swcj"
4+
xmlns="live.midreamsheep.swcj"
5+
elementFormDefault="qualified">
46
<xsd:element name="REG" type="REG"/>
57
<xsd:complexType name="REG">
68
<xsd:sequence>

src/main/resources/swcj-core/swcjSchema.xsd renamed to src/main/resources/swcj-core/swcjSchema.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
2-
<xsd:schema xmlns="http://www.itcast.cn/xml"
3-
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4-
targetNamespace="http://www.itcast.cn/xml"
2+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3+
targetNamespace="live.midreamsheep.swcj"
4+
xmlns="live.midreamsheep.swcj"
55
elementFormDefault="qualified">
66
<!--根标签定义-->
77
<xsd:element name="SWCJ" type="SWCJType"/>

src/test/java/text_reg.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<SWCJ>
2+
<SWCJ
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="urn:live.midreamsheep.swcj"
5+
xsi:schemaLocation="urn:live.midreamsheep.swcj E:\SWCJ\core\SWCJ\src\main\resources\swcj-core\swcjSchema.xml"
6+
xmlns:reg="E:\SWCJ\core\SWCJ\src\main\resources\reg\reg.xml"
7+
>
38
<config>
49
<timeout>10000</timeout>
510
<userAgent>

0 commit comments

Comments
 (0)