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 14204 - Allow XML entities editing
Summary: Allow XML entities editing
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ lkramolis
Keywords: ARCH
Depends on:
Blocks: 20532
  Show dependency tree
Reported: 2001-08-06 09:15 UTC by _ pkuzel
Modified: 2008-02-15 16:40 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 _ pkuzel 2001-08-06 09:15:03 UTC
XML Spec allows external parsed entities that are not well formed XML Documents
(e.g. violating single root WFC). The editor should be able to treat them. 
<p>Possible features:
<li>it should guess code completion on entity content
<li>well-formess check must pass issuing warning that an entity mode is used
The same apply for external DTD entities.
Comment 1 _ srandhawa 2001-08-10 14:33:03 UTC
The text based completion depends upon tokens to generate the 
required raw data for completion support. To get completion on entity 
content would require expanding the entity in the document(j.s.t) or 
looking at a completely new approach. In the gui mode such could be 

I don't understand the purpose of "issuing warning that an entity 
mode is used". Whether entity mode is used or not should be the users 
prerogative. He can set or unset it using 
"" and 
"" or am I 
missing something here.
Comment 2 _ pkuzel 2001-08-10 14:50:19 UTC
These properties controls if parser dereferences entity reference as
it is parsing XML document. (Besides parameter one it does not work in
On the other hand I mean external entities itself i.e.:

my.entity file:


It is not well formed XML document but it is well formed parsed
external entity. 

xhtml-table.mod file:

<!ENTITY % my "%ns;my">

Treating is identical like with standalone DTD but some parameter
entities need not be defined (e.g. ns may be defined at parent that
references it).
Comment 3 _ lkramolis 2002-03-27 13:29:18 UTC
Files .ent and .mod are recognized now:

* .mod is recognized as regular DTD document.

* .ent has separate data object and you can just open in in textual
editor with syntax coloring.
Comment 4 Mikhail Matveev 2008-02-15 16:40:08 UTC
Fixed long time ago