Bugs item #682618, was opened at 2003-02-07 22:54
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=682618&group_id=22866

Category: None
Group: v4.0
Status: Open
Resolution: None
Priority: 7
Submitted By: Matthew Munz (mattmunz)
Assigned to: David Jencks (d_jencks)
Summary: xDoclet: xmbean generation does not match the DTD

Initial Comment:
I wasn't sure where to submit this-- if this is the
wrong place, let me know...

The XMBean XML generated by xDoclet does not fit the
XMBean DTD.  Essentially, the descriptors are written
in the wrong order.

Here are my xDoclet tags

* @jmx.mbean 
 *   persistPolicy = "OnUpdate"
 *   persistName = "Resource2-state.xml"
 *   persistLocation =
"D:/Matt/apelon/temporary/MBean-Repository"
 *   display-name = "Resource #2 Test MBean" 
 *   name = "jboss.jmx.test:name=Resource2"
 *   persistence-manager =
"org.jboss.mx.persistence.XMLPersistenceManager"
* @jboss.xmbean
  
here's the xml generated by xDoclet

  <descriptors>
    <persistence persistPolicy="OnUpdate"             
  
persistLocation="D:/Matt/apelon/temporary/MBean-Repository"
                 persistName="Resource2-state.xml"/>
    <persistence-manager
value="org.jboss.mx.persistence.XMLPersistenceManager"/>
    <display-name value="Resource #2 Test MBean"/>
  </descriptors>

and here's the parser error

org.xml.sax.SAXParseException: The content of element
type "descriptors" must match
(persistence?,currencyTimeLimit?,state-action-on-update?,display-name?,
default?,value?,persistence-manager?,descriptor*)".

- Matt


----------------------------------------------------------------------

>Comment By: David Jencks (d_jencks)
Date: 2003-02-20 05:21

Message:
Logged In: YES 
user_id=60525

This is fixed in xdoclet cvs but not yet in our binary copy.  I'll close this after 
updating our cvs binary copy.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=682618&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to