Title: 616: XML validation bug?

Here's my xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Test SYSTEM "Test.dtd">
<Test ObjectType="0">
</Test>

and here's my dtd:

<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT Test>
<!ATTLIST Test ObjectType (0|1|2|3|4|5|6|7|8|9|10|11|12) #REQUIRED>

IDEA marks "0" in red in the xml file, with the message "Wrong attribute value".  As far as I understand, this xml is correct.  Am I missing something, or is IDEA incorrectly flagging this?

The information contained in this e-mail including any attachments may constitute Corvis Corporation Proprietary Information that is subject to Non-Disclosure Agreement and cannot be disclosed to any other party without the express consent of  Corvis Corporation.

If you are neither the intended recipient of this e-mail nor responsible for delivering this e-mail to the intended recipient, note that any dissemination, distribution, copying, or retention of this e-mail is prohibited.

If you believe you have received this e-mail in error, we request that you notify the sender by return e-mail and then delete this e-mail  and any return e-mail immediately.

Reply via email to