build 629, 1.3.1_03, Win XP

I created a new xml file (with .xsd extension) and typed the following

<?xml version="1.0" ?>

<schema xmlns=|

When I press " at this cursor position I get the exception below. I also 
get a dialog with the error. Each time I press Ok on the dialog it 
reappears. I have to press Ok and then hit backspace before the dialog 
comes up again to stop it cycling forever. I can't enter the default 
namespace.

If I persist and manage to get a character in after the " then it stops 
complaining. Changing the schema element to not be in the default 
namespace makes no difference.

Pete

[155196641]  ERROR -             com.intellij.ide.p - Error during 
dispatching o
f 
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.codeIn
sight.f.a.ce@4442cc,notifier=null,catchExceptions=false] on 
sun.awt.windows.WToo
lkit@476680
[155196641]  ERROR -             com.intellij.ide.p - IntelliJ IDEA 
(Ariadna) 3.
0  Build #629
[155196641]  ERROR -             com.intellij.ide.p - JDK: 1.3.1_02
[155196641]  ERROR -             com.intellij.ide.p - VM: Java 
HotSpot(TM) Clien
t VM
[155196641]  ERROR -             com.intellij.ide.p - Vendor: Sun 
Microsystems I
nc.
[155196641]  ERROR -             com.intellij.ide.p - OS: Windows 2000
[155196641]  ERROR -             com.intellij.ide.p -
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.<init>(String.java:246)
         at com.intellij.codeInsight.f.a.ca.a(ca.java:14)
         at com.intellij.codeInsight.f.a.ce.run(ce.java:2)
         at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
         at com.intellij.ide.p.a(p.java:43)
         at com.intellij.ide.p.dispatchEvent(p.java:54)
         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)

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to