Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Dmitry Avdeev
Subsystem
Editor. Error Highlighting
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Serge Baranov
    3 years ago (01 Jul 2008 23:14)
  • Updated by   root
    2 years ago (17 Jan 2010 21:02)
  • Jira: IDEADEV-27796
    (history, comments)
 
IDEA-44619 xml / xhtml validation issue
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Support feedback:

I've just upgraded to 7.0, but now my xhtml no longer will validate. Here's a simple example from "foo.jsp":

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<html:xhtml/>
<head><title></title></head>
<body>
<p>
<b>Test</b>
</p>
</body>
</html>

It claims that <html> must be declared. In that section it allows only:

attribute
body
element
forward
getProduct
include
...

All the resources are loaded. What's up?


OS: Linux
JDK: JDK 1.6.0
IDEA: 7.0
Build: 7757


Attached.
See xhtml_idea_test/web/test_case.jsp

In general with IDEA the validation works great, but when it goes wrong
it's hard to tell what IDEA is doing. Similarly for javadocs... if it
finds them, great. If not it can be difficult to work out what's wrong.


Issue was resolved
Comments (2)
 
History
 
Linked Issues (?)
 
Maxim Mossienko
  Maxim Mossienko
30 Oct 2008 20:14
3 years ago
In IDEA 7962 after fetching external resource all works as expected
Maxim Mossienko
  Maxim Mossienko
31 Oct 2008 23:27
3 years ago
completion problem is reproducible