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

Key: IDEADEV-24771
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

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

Hibernate configuration file: if class-type property element is empty, error is highlighted for element's trailing space

Created: 13 Feb 08 15:53   Updated: 13 Feb 08 15:53
Component/s: J2EE.Hibernate
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,696


 Description  « Hide
Provide a hibernate config with some property elements, which values should be class names.
Make these elements empty (in XML terms) like:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
		"-//Hibernate/Hibernate Configuration DTD//EN"
		"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
	<session-factory name="NewSessionFactory">
		<property name="connection.driver_class"/>
		<property name="cache.provider_class"/>
	</session-factory>
</hibernate-configuration>

See that errors (empty class name) are indicated so:
. There is no error undelining (underwaving).
. Error background color (if any) is set to trailing space, e.g. it starts after "/>" tokens.
. Error gutters are provided (this point is Ok).
So, editor looks some confusing in this case.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.