For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 2 replies, 2 voices, and was last updated 20 years, 3 months ago by
Victor Ott.
-
AuthorPosts
-
Victor OttParticipantWinXP SP2, 2GHz processor, 2GB RAM
Sun JDK/JRE 1.5.0_05
Eclipse SDK Version: 3.1.1 Build id: M20050929-0840
MyEclipse JSF Support Version: 4.0.1 Build id: 20050930-4.0.1-GA
(in fact this is 4.0.3 GA Build Id: 20051025-4.0.3-GA, but the version info in “Help>About…” was again not updated).Situation: XML file with inlined DTD. While editing the file with “MyEclipse XML Editor”, scrolling through the DOCTYPE area is painfully slow, with slowness in the range from “it just creeps over the screen” to “Eclipse and computer seem to hang”. Even Ctrl+F6/Ctrl+TAB editor windows switching, or Alt+TAB switching between Eclipse and another window covering Eclipse is slow, the repainting takes at least a few (3-5) seconds. The less DTD lines are visible, the faster become scrolling and repainting.
Below is a (a bit exagerated) example. I’ve also cut the data part to exemplify another problem with the XML validator: the MyEclipse XML validator validates the file, although the root node is missing. Validome detects the error.
*** Date: Thu Nov 17 17:50:17 CET 2005 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_05 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.0.3 GA Build id: 20051025-4.0.3-GA *** Eclipse details: Eclipse SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse Platform Version: 3.1.1 Build id: M20050929-0840 Eclipse RCP Version: 3.1.1 Build id: I20050627-1435 Eclipse Java Development Tools Version: 3.1.1 Build id: I20050627-1435 Eclipse Plug-in Development Environment Version: 3.1.1 Build id: I20050627-1435 Eclipse Project SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher E:\progs\eclipse31\eclipse.exe -name Eclipse -showsplash 600 -exitdata 14b8_768 -vm e:\java\jdk15\jre\bin\javaw.exe<?xml version="1.0" encoding='UTF-8'?> <!DOCTYPE root [ <!ELEMENT root (prodtype*, shushu?)> <!ATTLIST root key (IPS) #REQUIRED> <!ATTLIST root pruuu CDATA #REQUIRED> <!ELEMENT prodtype (location*, servljljl*)> <!ATTLIST prodtype key (Zz | zu | zi | zo | tn | jj) #REQUIRED> <!ATTLIST prodtype comment CDATA #IMPLIED> <!ELEMENT location (machtype*, servljljl*)> <!ATTLIST location key (Zzz | Aaa | Bbb | BRr | Ddd | FSf | Hhh | HLl | Lll | Nnn | Ppp | Ttt | TnN | Vvv) #REQUIRED> <!ATTLIST location comment CDATA #IMPLIED> <!ELEMENT machtype (servljljl*)> <!ATTLIST machtype key ( GENERAL | o1 | o11 | o12 | o13 | o14 | o15 | o16 | o17 | o18 | o19 | o111 | o112 | o113 | o114 | o115 | o2 | o21 | o22 | o23 | o24 | o25 | o26 | o27 | o28 | o29 | o3 | o31 | o32 | o33 | o34 | o35 | o36 | o4 | o41 | o42 | o43 | o44 | Zzz | Aaa | Bbb | BRr | Ddd | FSf | Hhh | HLl | Lll | Nnn | Ppp | Ttt | TnN | Zz | zu | zi | zo | tn | jj | o45 | o46 | o5 | o51 | o52 | o53 | o54 | o55 | o56 | o6 | o61 | o62 | o63 | o64 | o65 | o66 | o7 | o70 | o71 | o72 | o73 | o74 | o75 | o76 | o77 | o78 | o79 | o8 | o80 | o81 | o82 | o83 | o84 | o85 | o86 | o87 | o88 | o89 | o9 | o90 | o91 | o92 | o93 | o94 | o95 | o96 | o97 | o98 | o99 | oo1 | oo10 | oo11 | oo12 | oo13 | oo14 | oo15 | oo16 | oo17 | oo18 | oo19 ) #REQUIRED> <!ATTLIST machtype comment CDATA #IMPLIED> <!ELEMENT servljljl (doc*, dolulu*)> <!ATTLIST servljljl key (GENERAL | o1 | o11 | o12 | o13 | o14 | o15 | o16 | o17 | o18 | o19 | o111 | o112 | o113 | o114 | o115 | o2 | o21 | o22 | o23 | o24 | o25 | o26 | o27 | o28 | o29 ) #REQUIRED> <!ATTLIST servljljl comment CDATA #IMPLIED> <!ELEMENT doc (#PCDATA)> <!ATTLIST doc id ID #IMPLIED> <!-- required for ... --> <!ATTLIST doc type (M1 | M2 | O3 | m4 | S5| G6| P7| R8| A9) #IMPLIED> <!ATTLIST doc title CDATA #IMPLIED> <!ATTLIST doc name CDATA #IMPLIED> <!ATTLIST doc addinfo CDATA #IMPLIED> <!ATTLIST doc part CDATA #IMPLIED> <!ATTLIST doc version CDATA #IMPLIED> <!ATTLIST doc status CDATA #IMPLIED> <!ATTLIST doc creation CDATA #IMPLIED> <!ATTLIST doc lang CDATA #IMPLIED> <!ATTLIST doc size CDATA #IMPLIED> <!ATTLIST doc url CDATA #REQUIRED> <!ELEMENT shushu (doc*)> <!ATTLIST shushu comment CDATA #IMPLIED> <!ELEMENT dolulu (#PCDATA)> <!ATTLIST dolulu idref IDREF #REQUIRED> <!ATTLIST dolulu comment CDATA #IMPLIED> <!ENTITY Auml "Ä"> <!ENTITY auml "ä"> <!ENTITY Ouml "Ö"> <!ENTITY ouml "ö"> <!ENTITY Uuml "Ü"> <!ENTITY uuml "ü"> <!ENTITY szlig "ß"> <!ENTITY Aring "Å"> <!ENTITY aring "å"> ]> <!-- the missing root node should cause here a validation error!!!!!! <root key="IPS" pruuu="PAD"> </root> -->November 17, 2005 at 12:53 pm #241730
Riyad KallaMember(in fact this is 4.0.3 GA Build Id: 20051025-4.0.3-GA, but the version info in “Help>About…” was again not updated).
The information listed here is per feature, if something didn’t change between a release, it’s version isn’t incremented. Eclipse works the same way except between their releases it is typical for most everything to change.
Thank you for the example file, we’ve never seen this before, I will file it for investigation.
November 25, 2005 at 6:29 am #242072
Victor OttParticipantWhat also strikes my eye is that the DTD part has no syntax highlighting at all.
Greetings,
Victor -
AuthorPosts
