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 172122 - can not set "Prefix" to blank in "Schema Options"
Summary: can not set "Prefix" to blank in "Schema Options"
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 02:44 UTC by err
Modified: 2009-10-15 10:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot (50.61 KB, image/png)
2009-10-14 18:14 UTC, _ alexpetrov
Details
screen shot (113.71 KB, image/png)
2009-10-14 18:15 UTC, _ alexpetrov
Details
screen shot (50.20 KB, image/png)
2009-10-14 18:16 UTC, _ alexpetrov
Details
screen shot (110.28 KB, image/png)
2009-10-14 18:16 UTC, _ alexpetrov
Details
XML schema (1.97 KB, text/xml)
2009-10-14 18:18 UTC, _ alexpetrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2009-09-14 02:44:37 UTC
NewFile>XML>XMLDocument>FileName>Schema-Constrained

After entering the URL<RETURN>
the root is properly set and the Prefix has "ns1".
I cleared the Prefix field<RETURN> and the "ns1" came back.
Comment 1 Sergey Lunegov 2009-09-14 09:56:46 UTC
Alex, please take a look.
Comment 2 _ alexpetrov 2009-10-14 18:11:51 UTC
Fixed in trunk: http://hg.netbeans.org/main/rev/f5bce4877113
See the attached screen shots:
1 - a namespace prefix is "ns1"
2 - a namespace prefix is blank/empty
Comment 3 _ alexpetrov 2009-10-14 18:14:55 UTC
Created attachment 89466 [details]
screen shot
Comment 4 _ alexpetrov 2009-10-14 18:15:31 UTC
Created attachment 89467 [details]
screen shot
Comment 5 _ alexpetrov 2009-10-14 18:16:03 UTC
Created attachment 89468 [details]
screen shot
Comment 6 _ alexpetrov 2009-10-14 18:16:38 UTC
Created attachment 89469 [details]
screen shot
Comment 7 _ alexpetrov 2009-10-14 18:18:20 UTC
Created attachment 89470 [details]
XML schema
Comment 8 Quality Engineering 2009-10-15 10:20:46 UTC
Integrated into 'main-golden', will be available in build *200910150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f5bce4877113
User: Alex Petrov <alexpetrov@netbeans.org>
Log: Fix for issue [#172122]. Can't set "Prefix" to blank in "Schema Options".