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 17756 - XMLDataObject should support Environment attaching by MIME type.
Summary: XMLDataObject should support Environment attaching by MIME type.
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API
Depends on:
Blocks: 16389
  Show dependency tree
 
Reported: 2001-11-16 10:37 UTC by _ pkuzel
Modified: 2008-12-22 20:51 UTC (History)
3 users (show)

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 _ pkuzel 2001-11-16 10:37:31 UTC
Currently it supports just Environment attaching by DOCTYPE public ID. It is
unfortunate because some XML documents such as Ant scripts (and all future
document using XML Schema) cannot use this feature.

Attaching based on MIME type sounds like a definite solution. I.e. scan
system/xml/environment/${MIMEName} for Enviroment.Providers.
Comment 1 _ pkuzel 2001-11-16 10:43:11 UTC
I will take care of it, if nobody objects.
Comment 2 Jesse Glick 2001-11-17 10:21:37 UTC
This would be enough for the Ant module to at least coexist peacefully
with the XML module. Does not take care of switching Ant's XML
structure handling, but that can be done separately I think.
Comment 3 _ pkuzel 2002-04-29 08:43:49 UTC
My latest understanding of loaders.XMLDataObject is that it primary
handles system XML files. 

All user XML files should be handled by particular modules (Ant,
Generic XML, XSLT, Schema, ...) using XML tools API. We need to define
XML related cookies rather that require modules handling user XML
files to rely on/subclass support for system XMLs.
Comment 4 Jesse Glick 2002-04-30 02:31:48 UTC
Agreed that that is a good goal.
Comment 5 Marek Grummich 2002-07-22 11:20:16 UTC
Set target milestone to TBD
Comment 6 Marek Grummich 2002-07-22 11:22:36 UTC
Set target milestone to TBD
Comment 7 _ pkuzel 2002-08-13 17:39:40 UTC
Petr have you get rid of XMLDataObject in new 
datasystems API? 
 
It's not b/c change so it is probably right 
time to perform it now in 4.0 timeframe. 
Comment 8 Jesse Glick 2003-03-18 10:05:15 UTC
I guess this would be a non-issue in DS II - you already support
adding lookup cookies and looks generally by MIME type, which is all
this is asking for.
Comment 9 _ pkuzel 2003-03-18 10:10:43 UTC
I cannot find particular DS ?? issue to establish
dependencies/duplicate it.
Comment 10 Jesse Glick 2003-03-18 10:14:29 UTC
I don't think there is a specific issue filed yet.
Comment 11 David Konecny 2003-03-18 10:49:24 UTC
Agree with Jesse, but have nothing against leaving this issue open.
Some info can be found at
<http://openide.netbeans.org/proposals/fsextension/design.html>
Comment 12 Jaroslav Tulach 2005-02-11 12:47:56 UTC
ant is not the issue, it has own loader. I do not know anything about
schema. Moreover we survived few years without these changes, I am
sure we can survive few more.