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 131985 - If xsd:any is used the plain word "any" appears in source
Summary: If xsd:any is used the plain word "any" appears in source
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 20:30 UTC by tonybeckham
Modified: 2008-06-03 18:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot of issue (38.34 KB, image/png)
2008-04-03 21:19 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonybeckham 2008-04-03 20:30:04 UTC
If you have a schema and want wildcards so you use the tag <xsd:any> any XML document generated from that schema will
have the word "any" in the source view.

System:
Product Version: NetBeans IDE Dev (Build 200804030136)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)

Steps:
1. Create a new schema
2. Add an element
3. to the element add a few child elements
4. in source view, add <xsd:any/> before child element declaration or surround them by <xsd:any> </xsd:any>
5. Generate sample XML from this schema, the generated document has the word "any" in it.
Comment 1 tonybeckham 2008-04-03 21:19:04 UTC
Created attachment 59648 [details]
screen shot of issue
Comment 2 Samaresh Panda 2008-05-31 00:41:11 UTC
Fixed: http://hg.netbeans.org/main/rev/f5b2d4b333d4.

I have to admit that the code generation for xsd:any is an altogether different (and big) issue. You may want to file it
as an rfe and we should work on it only if there are external users asking for it.
Comment 3 tonybeckham 2008-06-03 18:53:07 UTC
Fix Verified

Product Version: NetBeans IDE Dev (Build 200806030004)
Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52
System: Mac OS X version 10.5.3 running on x86_64; MacRoman; en_US (nb)