Hi Jim One further thing. The prefixes used in the schema document and the prefixes used in the instance document do not have to be the same. The only thing that matters is the combination of the namespace identified by the prefix and the local name (this is all that is required by the XML Infoset). So in your instance document you are free to make up whatever prefixes you want.
The bit I don't know is whether and under what circumstances XmlBeans V2 goes beyond what it required by the infoset and does populate and make available the prefix information. Also may I ask why you don't use the XmlBean itself to produce the instance document? Cheers, Lawrence > -----Original Message----- > From: Jim McMaster [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 24, 2005 1:54 PM > To: [email protected] > Subject: RE: Problems with namespace prefixes in version 2 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tuesday, May 24, 2005 2:43 PM, Lawrence Jones > <mailto:[EMAIL PROTECTED]> wrote: > > > Hi Jim > > > > I can answer your first question. I'll have to leave someone else > > to answer your second. > > > Thank you for the explanation. I am a novice at schema, and I did > not realize the difference. > > My problem now is, where do I get the namespace prefix? I would > expect to find it in the Qname, but it is not there. I can specify a > Map with XmlOptions, but I really would rather not do that. > - -- > Jim McMaster > mailto:[EMAIL PROTECTED] > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.1 > > iQA/AwUBQpOUf2aP5l7/atSJEQJBYACeKZCByc9VgXqFMyFSQdlqeEhkTaMAoNqY > yp6KH13/GgS70XTMgwpLpPIi > =8c7c > -----END PGP SIGNATURE----- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

