This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans IDE Dev (Build 200607161800) 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05 Windows XP version 5.1 running on x86 ================================================== I have no idea if this is a defect or absence of feature. Does XML Editor have auto-complete feature? These were the steps I did. 1. Added "LZX" to options->system->object types->XML Objects->mime & extensions. 2. Associated LZX.DTD (OpenLaszlo) to PUBLIC id http://www.laszlosystems.com/lzx.dtd at Run Time->DTD & XML Catalogs -> User Catalog. 3. Created in my project web folder d.lzx with the following content. <!DOCTYPE canvas PUBLIC "LZX" "http://www.laszlosystems.com/lzx.dtd" > <canvas width="1000" height="710" title="Hello"> <script> var ReaderButtonWidth=150; </script> <dataset name="device" type="http" src='http://localhost:8180/SOS/session/start.jsp'/> </canvas> These are the symptoms exhibited when editing this document. 1. Auto-complete suggestion of elements found in DTD does not pop-up. 2. starting a new tag anywhere, e.g. just after </script>, by keying in a left angle bracket "<", auto-complete kicks in without relenting me a chance to key any characters further by placing a </canvas> tag. Is it because the DTD is inadequate, or I have missed a step in associating lzx.dtd in NB, or is XML Editor not capable of auto-completing from a DTD alone?
Created attachment 32950 [details] OpenLaszlo lzx.dtd
Reassigning to default owner of selected subcomponent. New owners are gladly welcomed.
Ssoong, Your PUBLIC id in 2. (http://www.laszlosystems.com/lzx.dtd). doesn't match your PUBLIC id in 3. (LZX). Could you be confusing public and system ids? Regards, Matthew.