Skip to content

Commit b891b5b

Browse files
authored
At least one idArg or arg is required
1 parent 0f63b25 commit b891b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/ibatis/builder/xml/mybatis-mapper.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2021 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -108,7 +108,7 @@
108108
</xs:element>
109109
<xs:element name="constructor">
110110
<xs:complexType>
111-
<xs:choice minOccurs="0" maxOccurs="unbounded">
111+
<xs:choice minOccurs="1" maxOccurs="unbounded">
112112
<xs:element ref="idArg"/>
113113
<xs:element ref="arg"/>
114114
</xs:choice>

0 commit comments

Comments
 (0)