File tree 2 files changed +6
-6
lines changed
src/main/java/org/apache/ibatis/builder/xml
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ extends CDATA #IMPLIED
61
61
autoMapping (true|false) #IMPLIED
62
62
>
63
63
64
- <!ELEMENT constructor (idArg*, arg*)>
64
+ <!ELEMENT constructor (( idArg| arg) *)>
65
65
66
66
<!ELEMENT id EMPTY>
67
67
<!ATTLIST id
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
4
- Copyright 2009-2021 the original author or authors.
4
+ Copyright 2009-2022 the original author or authors.
5
5
6
6
Licensed under the Apache License, Version 2.0 (the "License");
7
7
you may not use this file except in compliance with the License.
108
108
</xs : element >
109
109
<xs : element name =" constructor" >
110
110
<xs : complexType >
111
- <xs : sequence >
112
- <xs : element minOccurs = " 0 " maxOccurs = " unbounded " ref =" idArg" />
113
- <xs : element minOccurs = " 0 " maxOccurs = " unbounded " ref =" arg" />
114
- </xs : sequence >
111
+ <xs : choice minOccurs = " 1 " maxOccurs = " unbounded " >
112
+ <xs : element ref =" idArg" />
113
+ <xs : element ref =" arg" />
114
+ </xs : choice >
115
115
</xs : complexType >
116
116
</xs : element >
117
117
<xs : element name =" id" >
You can’t perform that action at this time.
0 commit comments