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 236119 - Add "RelaxNG constrained document" when creating a new XML document
Summary: Add "RelaxNG constrained document" when creating a new XML document
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 18:35 UTC by boen_robot
Modified: 2013-09-18 18:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boen_robot 2013-09-18 18:35:18 UTC
The IDE already supports creating XML documents constrained by a DTD or XML Schema, but not by a RelaxNG schema.

Creation of such documents, if implemented, should of course come with the typical benefits of such association - namely, context dependent suggestions for nodes and values and a validation option.

Due to the lack of any standard link from an XML file to an associated RelaxNG file, the associations should be defined as part of the project instead. Ideally, there would also be a "global" level RelaxNG associations by an XML namespace, PLUS the "project" level associations between an RelaxNG file, and a folder/file to which it overrides any global settings.