Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix DTD for behaviors without parameters #297

Merged
merged 1 commit into from

2 participants

@vworldat

<parameter /> tags inside behaviors are optional. The current DTD schema fails when including a behavior like <behavior name="auto_add_pk" />.

@vworldat vworldat `<parameter />` tags inside behaviors are optional. The current schem…
…a fails when including a behavior like `<behavior name="auto_add_pk" />`.
f0ac2e9
@willdurand willdurand merged commit 9d0251f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 15, 2012
  1. @vworldat

    `<parameter />` tags inside behaviors are optional. The current schem…

    vworldat authored
    …a fails when including a behavior like `<behavior name="auto_add_pk" />`.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  generator/resources/dtd/database.dtd
View
2  generator/resources/dtd/database.dtd
@@ -140,7 +140,7 @@ PHP class or method name.
name CDATA #IMPLIED
>
-<!ELEMENT behavior (parameter+)>
+<!ELEMENT behavior (parameter*)>
<!ATTLIST behavior
name CDATA #IMPLIED
>
Something went wrong with that request. Please try again.