People,

I am trying to deploy JSPWiki on an IMB WAS server, I found (and fixed)
what I believe to be a bug in the web.xml schema definition.

Currently, the xml file reads:

<web-app [..snip..]
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
"
        [..snip..] >

According to the pedantic validator in the WAS installation process, it
should read:

<web-app [..snip..]
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
        [..snip..]>

The first URL gives the validator the information required to look up the
complex types referenced in the .xsd file, from what I understand (eg: the
xsd restricts some fields to complexType 'String'.. The first URL gives the
base of where the validator should look for a definition of 'String').

Near I can tell, your latest RC doesn't have the schemaLocation string
changed, so this might be of use to you.

Let me know if you need more information. :)

Cheers,

Thomas van der Pol
Java Developer
Business Applications
_____________________________________________________________
INFORMATION MANAGEMENT DIVISION | Queensland Transport
Creating business confidence


***********************************************************************
WARNING: This e-mail (including any attachments) may contain legally
privileged, confidential or private information and may be protected by
copyright. You may only use it if you are the person(s) it was intended
to be sent to and if you use it in an authorised way.  No one is 
allowed to use, review, alter, transmit, disclose, distribute, print 
or copy this e-mail without appropriate authority.

If this e-mail was not intended for you and was sent to you by mistake,
please telephone or e-mail me immediately, destroy any hardcopies of
this e-mail and delete it and any copies of it from your computer
system. Any right which the sender may have under copyright law, and 
any legal privilege and confidentiality attached to this e-mail is not 
waived or destroyed by that mistake.

It is your responsibility to ensure that this e-mail does not contain
and is not affected by computer viruses, defects or interference by
third parties or replication problems (including incompatibility with
your computer system).

Opinions contained in this e-mail do not necessarily reflect the
opinions of the Queensland Department of Main Roads, Queensland
Transport or Maritime Safety Queensland, or endorsed organisations
utilising the same infrastructure.
***********************************************************************

Reply via email to