Jar Naming

2005-12-05 Thread Dan Diephouse
Hiya, Can the jar naming on xmlbeans be changed in the future? In the maven repo they're called xbean-xxx.jar. With the XBean project coming to geronimo this can be really confusing. I'd like to see xmlbeans-xxx.jar. Cheers, - Dan -- Dan Diephouse Envoi Solutions LLC http://netzooid.com

XmlCursor - equivalent setObject() method?

2005-12-05 Thread Jones, Damon
Title: XmlCursor - equivalent setObject() method? Hello, I am trying to figure out the best way to place a newly created XmlObject anywhere in my existing XML document. I understand that you can use the XmlCursor to move to a certain position in the XML document. Then I would like to add

RE: How does xmlbeans marshall object graphs

2005-12-05 Thread Radu Preotiuc-Pietro
I think you have answered the question yourself. XML in general cannot express object graphs, just tree structures. XMLBeans being a generic XML tool has this constraint too, so you basically need to encode the graph structure inside your app (and maybe use key/keyref constraints if you want to

RE: start from both feature

2005-12-05 Thread Radu Preotiuc-Pietro
Title: Message This feature I think has been deemed out-of-scope for XmlBeans. The problem isit would make itimpossible to ensure all the XmlBeans features work consistently with generated code and pre-existing code, so it would confuse matters. XmlBeans does the hard job of creating Java

RE: Jar Naming

2005-12-05 Thread Cezar Andrei
You're right, we should move to xmlbeans-xxx.jar naming in the next release. Also the xbean_xpath.jar should be renamed to xmlbeans_xpath.jar. It would avoid any naming confusion. Cezar -Original Message- From: Dan Diephouse [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005

RE: XmlCursor - equivalent setObject() method?

2005-12-05 Thread Cezar Andrei
Title: XmlCursor - equivalent setObject() method? The equivalent of XmlObject setXXX method in the XmlCursor world is copy/moveXmlContents(). From: Jones, Damon [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005 1:27 PM To: user@xmlbeans.apache.org Subject: XmlCursor

RE: XmlCursor - equivalent setObject() method?

2005-12-05 Thread Jones, Damon
Title: Message I think I figured it out. You basically have to do the following: 1) Create and move a cursor to where you want to add the item (newPosCursor). 2) Add the new XmlObject (will be placed toward the end of the document) 3) Get the cursor of the new XmlObject (XmlCursor

Re: Jar Naming

2005-12-05 Thread Peter Lynch
You may consider using '-' instead of '_' ( xmlbeans-xpath-x.x.x.jar ) as it is arguably more common. Good to see the version will be attached to the jar name in the future though. Thanks. -Peter Cezar Andrei wrote: You're right, we should move to xmlbeans-xxx.jar naming in the next release.

How to parse a XML file containing special characters

2005-12-05 Thread sujoy . banerjee
Dear All, In our application we use the StringBuffer to contain the XML as string. In some cases we need to save BULLETs, so in the StringBuffer we replace the BULLET with its UNICODE value, i.e. #8226; and the content of the StringBuffer is written to an XML file. After saving the file, when we