On 18/07/05, Caroline Wood <[EMAIL PROTECTED]> wrote: > > Hi Arek, > > Thanks for your reply :-) > > I've not set up a namespace, so the reference to the class is > noNamespace.TestDocument. How do you set up a namespace?
I believe your Schema should be: <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://cpp.co.uk/test" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ccp="http://cpp.co.uk/test" elementFormDefault="qualified" attributeFormDefault="unqualified"> <element name="test" type="ccp:Test"/> <complexType name="Test"> <sequence/> <attribute name="test1" type="xs:string"/> <attribute name="tes2" type="xs:string"/> </complexType> </schema> or something similar. You should be able to parse XML similar to one I send before with uk.co.ccp.test.TestDocument Now in new XMLBeans (v.2) there is also some other way to set package, but unfortunately I don't remember it. Anyway I'm using it as described before and has no problem with parsing. Best regards Arek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

