XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Javier Alfonso Bellota de FrutosSubject: java class for xs:any elements
Author: Javier Alfonso Bellota de Frutos
Date: 14 Feb 2011 05:38 AM
Originally Posted: 14 Feb 2011 05:21 AM
I have an element defined in a schema as:

<xsd:element name="extensiones" minOccurs="0">

<xsd:complexType>

<xsd:sequence>

<xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

Then I have generated the java class from the schema with Stylus Studio.
And when read a xml, other elements of the schema (that I don't put here for legibility) are ok, but the "extensiones" element have a getAny() that always return an empty list. Is this normal? How can I read this elements?

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.