Bugs item #682618, was opened at 2003-02-07 23:54
Message generated for change (Comment added) made by letiemble
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=682618&group_id=22866
Category: None
Group: v4.0
>Status: Closed
>Resolution: Fixed
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: Laurent Etiemble (letiemble)
Date: 2003-11-07 13:45
Message:
Logged In: YES
user_id=437455
Fixed in CVS by the import of XDoclet 1.2b3.
----------------------------------------------------------------------
Comment By: David Jencks (d_jencks)
Date: 2003-02-20 06: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: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development