Skip to content

Commit 0b6a04d

Browse files
committed
Allow <bind> tag in more places. fix #76
1 parent 50a02db commit 0b6a04d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,24 +240,24 @@ refid CDATA #REQUIRED
240240
value CDATA #REQUIRED
241241
>
242242

243-
<!ELEMENT sql (#PCDATA | include | trim | where | set | foreach | choose | if)*>
243+
<!ELEMENT sql (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
244244
<!ATTLIST sql
245245
id CDATA #REQUIRED
246246
lang CDATA #IMPLIED
247247
databaseId CDATA #IMPLIED
248248
>
249249

250-
<!ELEMENT trim (#PCDATA | include | trim | where | set | foreach | choose | if)*>
250+
<!ELEMENT trim (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
251251
<!ATTLIST trim
252252
prefix CDATA #IMPLIED
253253
prefixOverrides CDATA #IMPLIED
254254
suffix CDATA #IMPLIED
255255
suffixOverrides CDATA #IMPLIED
256256
>
257-
<!ELEMENT where (#PCDATA | include | trim | where | set | foreach | choose | if)*>
258-
<!ELEMENT set (#PCDATA | include | trim | where | set | foreach | choose | if)*>
257+
<!ELEMENT where (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
258+
<!ELEMENT set (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
259259

260-
<!ELEMENT foreach (#PCDATA | include | trim | where | set | foreach | choose | if)*>
260+
<!ELEMENT foreach (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
261261
<!ATTLIST foreach
262262
collection CDATA #REQUIRED
263263
item CDATA #IMPLIED
@@ -268,13 +268,13 @@ separator CDATA #IMPLIED
268268
>
269269

270270
<!ELEMENT choose (when* , otherwise?)>
271-
<!ELEMENT when (#PCDATA | include | trim | where | set | foreach | choose | if)*>
271+
<!ELEMENT when (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
272272
<!ATTLIST when
273273
test CDATA #REQUIRED
274274
>
275-
<!ELEMENT otherwise (#PCDATA | include | trim | where | set | foreach | choose | if)*>
275+
<!ELEMENT otherwise (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
276276

277-
<!ELEMENT if (#PCDATA | include | trim | where | set | foreach | choose | if)*>
277+
<!ELEMENT if (#PCDATA | include | trim | where | set | foreach | choose | if | bind)*>
278278
<!ATTLIST if
279279
test CDATA #REQUIRED
280280
>

0 commit comments

Comments
 (0)