Thanks Ben,

So what about when I don't want my "any" data to be parsed as well formed
XML?  Is it possible to get the data as bytes?


-Michael

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 30, 2001 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Trouble with schema
>
>
>
>
> >The getAnyObject returns a java.lang.Object instance, fine.  But what
> object
> >class is castor instantiating and putting my xml data into?
> >
> >Also, getAnyObject returns an array, why is that?  How could it consider
> >verything between the <square></square> tags as anything other than one
> >large blob?
>
> It is an 'AnyNode' class which comes with castor. The array is
> for when you
> have something like <square><p>aoeu</p><p>aoeu</p></square>.  Then each p
> becomes an 'AnyNode' instance.  If you do a toString on either instance,
> you'll get back the string <p>aoeu</p>.
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to