History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-10877
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Mikhail Gedzberg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

More informative message is required in case of incorrect xml tag position

Created: 16 Oct 06 17:54   Updated: 18 Oct 06 15:14
Component/s: XML editing
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(273 kb)

Build: 6,048


 Description  « Hide
Bugzilla validator message should be overriden

 All   Comments   Work Log   Change History      Sort Order:
Mikhail Gedzberg - 18 Oct 06 15:14
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence">

<persistence-unit name="PU">
<description>no description</description>
<mapping-file>META-INF/EJB-orm.xml</mapping-file>
<mapping-file>META-INF/Datasource.xml</mapping-file>
<class>b</class>
<properties>
<property name="com.intellij.javaee.persistence.datasource" value="Datasource"/>
</properties>
</persistence-unit>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence>
_________________________________________---
C:\zzz\aaa\EJB\META-INF\persistence.xml Error:Error:line (13)cvc-complex-type.2.4.a: Invalid content was found starting with element 'exclude-unlisted-classes'. One of '{"http://java.sun.com/xml/ns/persistence":persistence-unit}' is expected.