Message: The following issue has been re-assigned.
Assignee: Matthias Germann (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1283 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1283 Summary: Invalid xsi:schemaLocation value for web-app_2_4.xsd Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Web Module Versions: 1.3 Assignee: Matthias Germann Reporter: Scott England-Sullivan Created: Tue, 1 Mar 2005 2:42 PM Updated: Wed, 2 Mar 2005 1:02 PM Environment: WSAD 6.0 JDK 1.4.2_06 XDoclet 1.3 Description: When generating the web.xml for a 2.4 application, I was getting the following output for the <webapp> tag: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee resources/web-app_2_4.xsd" version="2.4"> where the location is to 'resources/web-app_2_4.xsd'. Throws the following error: cvc-elt.1: Cannot find the declaration of element 'web-app'. Changing line 7 column 217 from xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee <XDtXml:schema/>" to xsi:schemaLocation="<XDtXml:systemId/>" fixes the problem. The new output is: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee ttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> Being a newbie, I am not sure this is the right way but it works. Thanks, ses --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel