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


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

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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to