[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    inheriting from an existing schema creates empty .java files
From:       "Marius Gleeson" <mg () subscribe ! audumla ! net>
Date:       2005-12-22 23:16:19
Message-ID: 1135293379.22051.250409563 () webmail ! messagingengine ! com
[Download RAW message or body]

I have the following schema 

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ad="http://str.com.au/superadmin/authentication/activedirectory/schema"
targetNamespace="http://str.com.au/superadmin/authentication/activedirectory/schema"
elementFormDefault="qualified"
xmlns:auth="http://str.com.au/superadmin/authentication/schema"
blockDefault="substitution" version="2.0">
    <xs:import
    namespace="http://str.com.au/superadmin/authentication/schema" />
    <xs:complexType name="ActiveDirectoryAuthentication">
		<xs:complexContent>
			<xs:extension base="auth:LdapAuthentication">
				<xs:attribute name="domain" default="localhost" type="xs:string"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="activeDirectoryAuthentication" \
type="ad:ActiveDirectoryAuthentication" substitutionGroup="auth:service"/> \
</xs:schema>

The "http://str.com.au/superadmin/authentication/schema" namespace has
been defined and compiled in another module.
When I run the build over this ( I am keeping the generated java files
), xmlbeans generates empty java for ActiveDirectoryAuthentication and
ActiveDirectoryAuthenticationDocument and empty java documents for their
implementation.
It also creates all the java source for the imported namespace depsite
it already existing in the classpath.
Any ideas?
Thanks
Marius Gleeson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic