#607, Win NT 4.0, JDK 1.3.1_02
(existed in #606 too)
When I write XML with specified DTD, I ctrl-space in an attribute value
(with two possible values specified in the DTD). IDEA starts to print an
infinite row of the first letters of this value ("p" in my case). I can stop
it only by pressing "home" or others, which then raises "Assertion failed"
dialog.
I have simplified the DTD a lot, because I do not want to send the whole
structure.
Problem is with the "st" attribute of "params" node (see attached dtd).
Follows the XML document declaration:
<?xml version="1.0"?>
<!DOCTYPE authorizationRules SYSTEM
"file:///D:\development\am\doc\xml_dtd\settings.dtd">
Follows the error from the output.
[ 487250] ERROR - com.intellij.command.a.q - Assertion failed
java.lang.Throwable
at com.intellij.diagnostic.e.a(e.java:39)
at com.intellij.diagnostic.e.a(e.java:24)
at com.intellij.command.a.q.a(q.java:322)
at com.intellij.command.a.r.b(r.java:6)
at com.intellij.editor.b.f.b(f.java:176)
at com.intellij.editor.b.p.a(p.java:13)
at com.intellij.editor.b.p.a(p.java:144)
at com.intellij.editor.i.c(i.java:118)
at com.intellij.codeInsight.completion.b.invoke(b.java:14)
at com.intellij.codeInsight.completion.c.run(c.java)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at com.intellij.ide.c.dispatchEvent(c.java:26)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
DTD:
<!ELEMENT authorizationRules (params)>
<!ELEMENT params (param+)>
<!ATTLIST params
st (prepaid|postpaid) #REQUIRED
exec (TRUE|FALSE) #IMPLIED
>
<!ELEMENT param EMPTY>
<!ATTLIST param
name CDATA #REQUIRED
value CDATA #REQUIRED
>
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list