RE: Problems accessing enumerations's annotations

2005-06-06 Thread borihuela
Hello, > I am not sure what you mean by "sort of XML Schema parser". Are you > using the Schema* APIs or XmlCursor or XmlObject or none? I am going to > assume that you use SchemaType and the parsing and compilation is > actually done by XmlBeans. Yes, I load an XSD file then compile it with XMLBe

Problem with retrieving the data in sequence

2005-06-06 Thread sujoy . banerjee
Hi all, I am using a xml file whose structure is as follows:         art1         leadin1         art2         leadin2         art3         leadin3         art4         art5 Here if I want to get the elements nested in Item in a sequence, i.e after art, then leadin, again art, then leadin, and

RE: Null value not getting propogated?

2005-06-06 Thread Radu Preotiuc-Pietro
Irv, what version of XmlBeans are you using? I vaguely remember fixing a bug like that at some point, could you try with the latest revison? Thanks, Radu -Original Message- From: Irv Salisbury [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 12:16 PM To: user@xmlbeans.apache.org Sub

RE: Problems accessing enumerations's annotations

2005-06-06 Thread Radu Preotiuc-Pietro
I am not sure what you mean by "sort of XML Schema parser". Are you using the Schema* APIs or XmlCursor or XmlObject or none? I am going to assume that you use SchemaType and the parsing and compilation is actually done by XmlBeans. In this case, we unfortunately are not currently in the positio

Null value not getting propogated?

2005-06-06 Thread Irv Salisbury
We are setting a value to null like: updateHistory( String s ){ myXmlBean.setSomeValue( s ); } If I then do a: String s = myXmlBean.getSomeValue(); It returns null. However, when I serialize this to a SAX output stream, if there was a value in there before, it shows up in the serialized out

Problems accessing enumerations's annotations

2005-06-06 Thread borihuela
Hi everybody, I'm currently writing a sort of XML Schema parser for code-generation needs ... it has not been too difficult to parse the "structure" (elements, attributes, ...) of my schemas but I'm facing a lot of difficulties with the annotations (documentation and appinfo) ... after some search

Adapter Pattern with Table

2005-06-06 Thread Brian Bonner
Tammo, Here's another example: http://developerlife.com/lessons/adapter/default.htm -- Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]