Skip to content

Commit

Permalink
Experiments #77.
Browse files Browse the repository at this point in the history
  • Loading branch information
highsource committed Dec 1, 2016
1 parent 43fd057 commit 2f45e2d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/issues/src/main/resources/schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,20 @@
</xs:complexContent>
</xs:complexType>


<xs:complexType name="issueGH77Type">
<xs:sequence>
<xs:element ref="issueGH77Extension"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="issueGH77ExtensionType">
<xs:sequence>
<xs:element name="a" type="xs:string" default="a"/>
</xs:sequence>
</xs:complexType>

<xs:element name="issueGH77Extension" type="issueGH77ExtensionType"/>
<xs:element name="anotherIssueGH77Extension" type="issueGH77ExtensionType" substitutionGroup="issueGH77Extension"/>

</xs:schema>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@
import java.io.File;
import java.net.URL;

import javax.xml.namespace.QName;

import org.junit.Before;
import org.junit.Test;
import org.jvnet.jaxb2_commons.xjc.model.concrete.XJCCMInfoFactory;
import org.jvnet.jaxb2_commons.xml.bind.model.MElementInfo;
import org.jvnet.jaxb2_commons.xml.bind.model.MModelInfo;
import org.jvnet.jaxb2_commons.xml.bind.model.MPropertyInfo;

import com.sun.codemodel.JCodeModel;
import com.sun.tools.xjc.ConsoleErrorReporter;
import com.sun.tools.xjc.ModelLoader;
import com.sun.tools.xjc.Options;
import com.sun.tools.xjc.model.Model;
import com.sun.tools.xjc.model.nav.NClass;
import com.sun.tools.xjc.model.nav.NType;

public class RunPlugins {

Expand Down

0 comments on commit 2f45e2d

Please sign in to comment.