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

Error range for src-annotation src-annotation #1276

Closed
angelozerr opened this issue Aug 16, 2022 · 2 comments
Closed

Error range for src-annotation src-annotation #1276

angelozerr opened this issue Aug 16, 2022 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers validation
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Aug 16, 2022

Given this XSD file:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="root-element">
	<xs:annotation>
		<xs:appInfo>
			
		</xs:appInfo>
	</xs:annotation>	
	</xs:element>
</xs:schema>

image
``
xs:appInfo report an error because it should be `xs:appinfo`, the error range should higlight the `xs:appInfo`. We could provide too code action with similar values and REPLACE with `xs:appinfo`.

See eclipse-pde/eclipse.pde#294

@angelozerr angelozerr added bug Something isn't working validation good first issue Good for newcomers labels Aug 16, 2022
@raj99195
Copy link

you should write app:info instead of app:Info.

@datho7561
Copy link
Contributor

Clsoed by #1581

@datho7561 datho7561 modified the milestones: 0.27.0, 0.28.0 May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers validation
Projects
None yet
Development

No branches or pull requests

3 participants