Bug 73885 - WebSphere specifid DDs can't be properly validated
WebSphere specifid DDs can't be properly validated
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: WebSphere
5.x
PC Windows XP
: P2 (vote)
: TBD
Assigned To: Petr Hejl
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-22 15:33 UTC by Alexander Kouznetsov
Modified: 2008-09-22 16:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2006-03-22 15:33:38 UTC
Steps to reproduce:
- Create any application targeted WebSphere server
- Open any server specific DDs under Configuration Files node
- Switch to XML mode
- Try to validate its XML
- RESULT: The following output is shown:

XML validation started.

Checking file:/.../EJBModuleDeploy/src/conf/ibm-ejb-jar-bnd.xmi...
cvc-elt.1: Cannot find the declaration of element 'ejbbnd:EJBJarBinding'. [1] 
XML validation finished.
Comment 1 dlipin 2006-03-23 10:28:55 UTC
Nowdays we have no *exact* schema for WebSphere DD (IBM doesn`t provide it in 
free access). 
We would create it manually on the basis of information collected from various 
sources.
Comment 2 dlipin 2006-03-23 10:29:06 UTC
Nowdays we have no *exact* schema for WebSphere DD (IBM doesn`t provide it in 
free access). 
We would create it manually on the basis of information collected from various 
sources.
Comment 3 Alexander Kouznetsov 2006-06-05 12:42:03 UTC
Let's do it later.
Comment 4 ats37 2008-04-08 17:56:55 UTC
By "in free access" I assume you mean they're not on the web or under a freely redistributable license?
Can't they just be loaded from the properties\schemas directory under the installation directory
selected when adding the app server to the Servers list?  Is it really all that much different
to the way the j2ee.jar is located for compiling the java code?

There's a whole bunch of .xsd files under
C:\Program Files\IBM\SDP70\runtimes\base_v6\properties\schemas on my machine, including
the webapp ext & bnd ones.  The advantage of locating these relative to the j2ee platform
settings is that if there are any incompatible changes in the schemas between WAS versions,
validation can be done with the appropriate set for the target environment.  The down side
is that changing to a different server type (e.g. Tomcat) means you can no longer validate
any existing ibm-web-bnd.xmi etc. files in the project, but that's no worse off than the
current situation.


Hmm... last updated Jun 5 2006.  Is it LATER yet? :-)
Comment 5 _ pcw 2008-08-26 15:52:55 UTC
By "free access", the issue is IBM's copyrights and what the distribution rights are.  Barring evidence to the contrary,
it is reasonable to assume that IBM does not grant free distribution rights to these files.

That said, it is possible to construct a server plugin that dynamically adds WebSphere's DTD's to the DTD Registry in
the IDE from a known location in a WebSphere install provided by the end user.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo