Message:

   The following issue has been re-assigned.

   Assignee: René Zanner (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-287

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-287
    Summary: Couldn't validate document <path>\weblogic-ejb-jar.xml
       Type: Bug

     Status: Resolved
   Priority: Minor
 Resolution: CANNOT REPRODUCE

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             Bea Module
   Fix Fors:
             1.2.2
   Versions:
             1.2 Beta 2

   Assignee: René Zanner
   Reporter: Morten Holm

    Created: Tue, 4 Feb 2003 5:08 AM
    Updated: Mon, 22 Nov 2004 7:54 AM
Environment: Windows 2000 cygwin bash jdk 1.4.0_01-b03

Description:
I'm using the bea module and try to merge in a 
weblogic-security-role-assignment.xml file containing:

<security-role-assignment>
   <role-name>manager</role-name>
   <global-role/>
</security-role-assignment>

The output from xdoclet is this:

[ejbdoclet] Running <weblogic/>
[ejbdoclet] Generating weblogic-ejb-jar.xml.
[ejbdoclet] org.xml.sax.SAXParseException: Element type "global-role" must be 
declared.
[ejbdoclet]     at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
Parser.java:1183)
[ejbdoclet]     at xdoclet.util.XmlValidator.doValidate(XmlValidator.java:220)
[ejbdoclet]     at xdoclet.util.XmlValidator.validate(XmlValidator.java:189)
[ejbdoclet]     at xdoclet.XmlSubTask.engineFinished(XmlSubTask.java:240)
...

When i run xdoclet again it is successfull.

weblogic definition in build.xml:

      <weblogic
             datasource="serviceDS"
             version="7.0"
             destdir="${gen.ejb.dd.dir}"
             validatexml="true"
             mergedir="${etc.dir}/xdoclet/"
          />




---------------------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to