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.

Bug 58185 - Provide autocompletion for XMLs without DTD
Summary: Provide autocompletion for XMLs without DTD
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@xml
Depends on:
Reported: 2005-04-21 17:11 UTC by Alexander Kouznetsov
Modified: 2008-10-29 07:17 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2005-04-21 17:11:19 UTC
It would be useful to implement autocompletion for XML pages without DTD specified. (For example, IntelliJIDEA supports this). 

DTD could be created dynamically and temporarily to support autocomplete function.
Comment 1 Samaresh Panda 2008-10-28 16:51:25 UTC
Can you give an example where you would like something like that. In fact, we do have this feature available to some
extent I believe. For example inside a web.xml, you get CC w/o any DTD, nor schema declaration. Also inside schema

I would like to know what you're talking about though?
Comment 2 Alexander Kouznetsov 2008-10-29 07:17:45 UTC
The idea of this enhancement is to provide user support in modification of arbitrary xml documents regardless of their
DTD availability. 

This should work in the following scenario: user opens any xml document without DTD (or creates a new one) and NetBeans
provides code completion of tags and attributes based on existing xml file structure.