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 58785 - web.xml, build.xml, etc (?), not recognized as XML
Summary: web.xml, build.xml, etc (?), not recognized as XML
Status: RESOLVED DUPLICATE of bug 69860
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 15:55 UTC by jessholle
Modified: 2005-12-05 18:55 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 jessholle 2005-05-11 15:55:00 UTC
The "XSL Transformation..." menu item claims web.xml and (Ant) build.xml are not
XML files.  They clearly and obviously are, though.

I had to change the root element name and namespace before this utility would
recognize my target XML.

Perhaps this is related to the fact that some XML-related actions are dropped
from the contextual menus of these files -- which I've seen other bugs for. 
Whatever the case, however, this is *extremely* obnoxious and a major
productivity issue when one is trying to test and author XSLT which targets the
automatic modification of web.xml and/or build.xml files.

Note this issue occurs irrespective of whether the web.xml and build.xml files
have any relationship to the project, e.g. whether the web.xml or build.xml are
"the" project's web.xml or build.xml -- or just another file somewhere.
Comment 1 Marek Fukala 2005-11-28 14:22:32 UTC
Which actions are accessible on particullar nodes is up to the actions provider
module. So this is not a XML module bug that these actions are not visible on
ants files or some deployment descriptors. IMO these files are a kind of higher
level support so low-level actions are not provided. Reassigning to Milan
Kuchtiak - web.xml support author and CCing Jesse Glick - author of the ant
files support.
Comment 2 Milan Kuchtiak 2005-12-05 08:23:58 UTC
I agree that XSTL Transformation can be useful even for web.xml or build.xml files.

I am transforming this bug into 2 separate enhancements:
- issue 69860
- issue 69861


*** This issue has been marked as a duplicate of 69860 ***