Re: Wrong namespace prefix in generated documents?

2014-08-08 Thread Peter Keller
: user-h...@xmlbeans.apache.org -- Peter Keller Tel.: +44 (0)1223 353033 Global Phasing Ltd., Fax.: +44 (0)1223

Re: Wrong namespace prefix in generated documents?

2014-08-07 Thread Peter Keller
...@xmlbeans.apache.org -- Peter Keller Tel.: +44 (0)1223 353033 Global Phasing Ltd., Fax.: +44 (0)1223 366889 Sheraton House, Castle Park, Cambridge CB3 0AX United Kingdom

Re: Validation issues

2014-07-21 Thread Peter Keller
doing something wrong? Without knowing more about what you are doing, it is hard to say. FWIW, I do something very like this (defining all my concrete types in XML schemata) and I don't have any validation problems. Hope that this helps, Peter. -- Peter Keller

Re: Validation issues

2014-07-21 Thread Peter Keller
issues it is addressing: http://www.w3.org/TR/xml11/#sec-xml11 Regards, Peter. -- Peter Keller Tel.: +44 (0)1223 353033 Global Phasing Ltd., Fax.: +44 (0)1223 366889 Sheraton House, Castle Park, Cambridge CB3 0AX United Kingdom

Re: XMLBean Document Objects

2010-05-27 Thread Peter Keller
        /xs:complexType /xs:schema   Example Document someElementName xmlns:tst=urn:org:test:namespace xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=tst:FooType     tst:barsome value/tst:bar    /someElementName   Thanks -Duane -- Peter Keller Tel.: +44

RE: XmlBean object confusion

2010-04-30 Thread Peter Keller
On Thu, 29 Apr 2010, Wing Yew Poon wrote: (Peter, the plural of schema is schemata.) You are absolutely right of course. It seems my education wasn't quite classical enough ;-) Regards, Peter. -- Peter Keller Tel.: +44 (0)1223 353033 Global Phasing Ltd

Overloading not supported by extension interfaces feature?

2010-04-14 Thread Peter Keller
, Peter. -- Peter Keller Tel.: +44 (0)1223 353033 Global Phasing Ltd., Fax.: +44 (0)1223 366889 Sheraton House, Castle Park, Cambridge CB3 0AX United Kingdom

Re: Getting at a schema component's id attribute

2010-03-30 Thread Peter Keller
from the API that XMLBeans generates from that schema. Does anyone have an answer for my original question, or have I found an area where XMLBeans support for XML schema is incomplete? Regards, Peter. On 26 March 2010 09:57, Peter Keller pkel...@globalphasing.com wrote: Dear all

Re: Getting at a schema component's id attribute

2010-03-30 Thread Peter Keller
16:01, Peter Keller pkel...@globalphasing.com wrote: On Fri, 26 Mar 2010, Sri Harsha Yenuganti wrote: Try using the XMLBeans XQuery/XPath API features.  It seems to me that you have not understood my question. I am not asking how to retrieve data from an XML document. I am

Getting at a schema component's id attribute

2010-03-26 Thread Peter Keller
Dear all, I have been trying to figure out how to get the value of the id attribute of a schema component, but have got nowhere. Can anyone help? Slightly more explicitly: if my XSD contains a type definition like this: complexType name=MyType id=some_identifier_or_other ... /complexType