RE: xml-fragment Issues

2009-02-20 Thread Gordon Rogers
What you need to do is output the ADDRVALIDREQUESTDocument object rather than the ADDRVALIDREQUESTType object. It's the ADDRVALIDREQUESTDocument that will give you access to the top level ADDR_VALID_REQUEST element. What you are printing out is the contents of the complex type

RE: XMLStreamReader namespace handling

2008-09-25 Thread Gordon Rogers
, the newXMLStreamReader() is designed for speed to transfer the contents of the XML store. Cezar -Original Message- From: Gordon Rogers [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 5:24 AM To: user@xmlbeans.apache.org Subject: XMLStreamReader namespace handling Hi

XMLStreamReader namespace handling

2008-09-22 Thread Gordon Rogers
Hi I am using XMLBeans version 2.1.0 and have got a question about how the XMLStreamReader handles namespaces and in particular why the semantics used by the newXMLStreamReader() method and the xmlText() method are different when passed the same set of XmlOptions. This is best illustrated by an