Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element not selected as candidate #55

Open
imavroukakis opened this issue May 17, 2017 · 1 comment
Open

Element not selected as candidate #55

imavroukakis opened this issue May 17, 2017 · 1 comment
Labels
need testcase Provide a small Maven project that reproduces an issue

Comments

@imavroukakis
Copy link

imavroukakis commented May 17, 2017

Given

<xs:element name="CategoryBoosts">
		<xs:annotation>
			<xs:documentation xml:lang="en">CategoryBoosts</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="hints:CategoryBoost" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element name="CategoryBoost">
		<xs:annotation>
			<xs:documentation xml:lang="en">See CategoryBoosts Element</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="CatID" type="xs:string" use="required"/>
			<xs:attribute name="TreeID" type="xs:string" use="required"/>
			<xs:attribute name="BoostFactor" type="xs:float" use="optional" default="1.0"/>
			<xs:attributeGroup ref="common:LanguageSensitive"/>
		</xs:complexType>
	</xs:element>

and (in a different XSD, I'm using episodic compilation)

 <xs:element name="Rules">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="hints:CategoryBoosts"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

Why doesn't the plugin pick hints:CategoryBoosts as a candidate?

@dmak
Copy link
Owner

dmak commented May 17, 2017

Could you please create a maven project with two minimalistic subprojects (one that generates episode and other one that uses that episode), and then share this project? Similar to issue #53, which I couldn't reproduce.

@dmak dmak added the need testcase Provide a small Maven project that reproduces an issue label May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need testcase Provide a small Maven project that reproduces an issue
Projects
None yet
Development

No branches or pull requests

2 participants