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 133727 - ant-project-references/2.xsd validation errors for project.xml
Summary: ant-project-references/2.xsd validation errors for project.xml
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kubec
URL: http://deadlock.netbeans.org/hudson/j...
Keywords:
Depends on:
Blocks: 52886
  Show dependency tree
 
Reported: 2008-04-22 23:00 UTC by Jesse Glick
Modified: 2008-06-06 20:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-04-22 23:00:44 UTC
misc/mobility/miscme/LogTestSuite/nbproject/project.xml:16: cvc-datatype-valid.1.2.1: '${project.TestME}/build.xml' is
not a valid value for 'NCName'.

There are some other projects with similar problems (e.g. vmd.components.svg/nb_svg_midp_components).

I am guessing that the project.xml really is right (see issue #50092), and it is the schema which is wrong. If true,
please fix the schema, both in

project.ant/src/org/netbeans/modules/project/ant/ant-project-references2.xsd

in Hg and in

www/www/ns/ant-project-references/2.xsd

in CVS.
Comment 1 Jesse Glick 2008-04-22 23:03:13 UTC
Issue #52886 is actually the one defining the schema change.
Comment 2 Milan Kubec 2008-04-23 14:06:55 UTC
Jesse, do you think that xsd:string would be OK as type for script element or we need to create new simple type with
better restriction?
Comment 3 Jesse Glick 2008-04-23 14:47:27 UTC
I think xsd:string would suffice.
Comment 4 Jesse Glick 2008-06-05 02:34:54 UTC
Are you fixing? I would really like to turn on general mail notifications for failures in this job. This issue is the
only blocker.
Comment 5 Milan Kubec 2008-06-05 07:34:14 UTC
I will fix it, didn't know it's blocker.
Comment 6 Jesse Glick 2008-06-05 14:27:46 UTC
Setting a more realistic milestone. :-)
Comment 7 Milan Kubec 2008-06-05 14:34:51 UTC
OK, sorry. Fixed.

http://hg.netbeans.org/main/rev/523fef95d5aa

Checking in ant-project-references/2.xsd;
/cvs/www/www/ns/ant-project-references/2.xsd,v  <--  2.xsd
new revision: 1.2; previous revision: 1.1
done

Comment 8 Quality Engineering 2008-06-06 04:19:18 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #240 build
Changeset: http://hg.netbeans.org/main/rev/523fef95d5aa
User: Milan Kubec <mkubec@netbeans.org>
Log: #133727: less restricting XSD type for script element
Comment 9 Jesse Glick 2008-06-06 20:36:01 UTC
That did it, thanks!