[ mx4j-Bugs-846164 ] XML Descriptor Format Change

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #846164, was opened at 2003-11-20 16:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=846164&group_id=47745

Category: JMX implementation
Group: Release 1.1.1 beta1
Status: Open
Resolution: None
Priority: 5
Submitted By: Ward K Harold (wkharold)
Assigned to: Ward K Harold (wkharold)
Summary: XML Descriptor Format Change

Initial Comment:
Upon review the XML format for representing descriptors
has been simplified to:

<Descriptor>
  <field 
    name="{name string}" 
    value="{value string encoding}">
  </field>
  ...
</Descriptor>

where {value string encoding} is

a. "(null)" if the value is null
b. the string itself; unless the string begins with '('
c. "(<value.getClass().getName()>/<value string rep>)"

For example:

<Descriptor>
  <field name="nullfield" value="(null)">
  </field>
  <field name="stringfield" value="string">
  </field>
  <field
    name="objfield"
    value="(java.net.URL/http://mx4j.sourceforge.net)">
  </field>
  <field 
    name="specialstring"
    value="(java.lang.String/(specialstring))"
  </field>
</Descriptor>

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=846164&group_id=47745


-------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.