a stange problem: can not judge the type of a xmlObject

2009-09-27 Thread maven apache
Hi : In the xml I uploaded, I want to get the valuse under the element DataArray, but I am not sure the type , so I use the following codes to judge: -- ObservationCollectionDocument ocd=ObservationCollectionDocument.Factory.parse(new File(DataArray.xml));

Re: a stange problem: can not judge the type of a xmlObject

2009-09-27 Thread Jacob Danner
How is DataArray defined in your schema? Also, does this instance validate without errors? -jacobd On 9/27/09, maven apache apachemav...@gmail.com wrote: Hi : In the xml I uploaded, I want to get the valuse under the element DataArray, but I am not sure the type , so I use the following codes

Re: a stange problem: can not judge the type of a xmlObject

2009-09-27 Thread maven apache
2009/9/28 Jacob Danner jacob.dan...@gmail.com How is DataArray defined in your schema? I upload the DataArray schema. If possible, I would like some one can check it. Also, does this instance validate without errors? I get no error but only false when I use the following codes to validate:

Re: a stange problem: can not judge the type of a xmlObject

2009-09-27 Thread maven apache
Sorry this is the schema, I forget in the last post. 2009/9/28 maven apache apachemav...@gmail.com 2009/9/28 Jacob Danner jacob.dan...@gmail.com How is DataArray defined in your schema? I upload the DataArray schema. If possible, I would like some one can check it. Also, does this