English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

"Element violates enclosing tag's content model". What does that mean? Please answer briefly.Thanks

2007-12-26 23:14:58 · 3 answers · asked by Rebel 2 in Computers & Internet Programming & Design

3 answers

The data between the XML tags doesn't validate against the DTD. Simpler terms, your text isn't formatted correctly.

For example, if you wanted a ZIP code
90210 - Valid
abcde - Invalid

More specifically, it could be something along the lines of

90210


And instead you have

Lime


Check your data.

2007-12-26 23:20:14 · answer #1 · answered by Zurahn 4 · 0 0

Your xml does not comply with the rules set by a DTD schema. In particular you entered something wrong in the element in the position of the error.

2007-12-26 23:20:03 · answer #2 · answered by fretless 4 · 0 0

you guys are using an element that is not defined in the dtd. tsk tsk tsk tsk....

2007-12-26 23:19:28 · answer #3 · answered by gjmb1960 7 · 0 0