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 18120 - Several bugs in
Summary: Several bugs in
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: TAX/Lib (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@xml
Keywords: API
Depends on: 26154
Blocks: 26478
  Show dependency tree
Reported: 2001-11-27 16:19 UTC by Martin Schovanek
Modified: 2007-09-25 06:06 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2001-11-27 16:19:22 UTC
[jdk1.3.1, Nb Build 200111230645, Linux]

- Missing '*' in mixed content spec:
  new TreeElementDecl("product", "(#PCDATA |descript)*");
<!ELEMENT product ( #PCDATA | descript )>

- Missing inner parenhese:
  new TreeElementDecl("product", "( head, (p | list | note )*, div2* )");
<!ELEMENT div ( head,  )>

- Wrong elements order:
  new TreeElementDecl("div", "(p | list | note )*");
<!ELEMENT div ( list | note | p )*>

- Element name with entity reference throws:
  InvalidArgumentException: Cannot start with "%" character.
  Use an ASCII letter to be sure. Violating argument:
  "Name of Element Declaration"
  new TreeElementDecl("%name.para;", "%content.para;");
Comment 1 _ lkramolis 2002-01-10 13:58:30 UTC
This is wrong TAX[dtd] API - should be redesigned.
Comment 2 _ pkuzel 2002-06-03 12:27:24 UTC
Let these are considered while planning next release.
Comment 3 Marek Grummich 2002-07-19 16:16:39 UTC
Target milestone was changed from not determined to TBD
Comment 4 _ pkuzel 2002-08-13 18:15:44 UTC
It is subtask of issue 26478.