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

Incorrect error range for cvc-datatype-valid.1.2.3 #864

Closed
fbricon opened this issue Sep 2, 2020 · 0 comments · Fixed by #867
Closed

Incorrect error range for cvc-datatype-valid.1.2.3 #864

fbricon opened this issue Sep 2, 2020 · 0 comments · Fixed by #867
Labels
bug Something isn't working validation
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Sep 2, 2020

Given this xml:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<cpr
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='https://www.dgai.de/cpr/schema/ev/cpr-ev-2.0.xsd'>
    <cprev>
        <VERSION>2.0</VERSION>
        <DATUM>2019-08-09</DATUM>
        <STOKENN>stokenn001</STOKENN>
        <EWZ>00000000</EWZ>
        <PATID>000000000000000</PATID>
        <PROTAR>01</PROTAR>
        <GEBDAT>asd</GEBDAT>
        <PATALTER>999:9999</PATALTER>
        <EOKO>00</EOKO>
        <PACER>06</PACER>
        <FBSYSTEM>06</FBSYSTEM>
        <AUTOCPR>06</AUTOCPR>
        <NTECH>02</NTECH>
        <ROSC>98</ROSC>
        <KHAUF>98</KHAUF>
        <KVEN>999</KVEN>
        <NACHFNA>02</NACHFNA>
    </cprev>
</cpr>

cvc-datatype-valid.1.2.3 error ranges are off:

Screen Shot 2020-09-02 at 11 09 38 AM

@fbricon fbricon added bug Something isn't working validation labels Sep 2, 2020
@angelozerr angelozerr added this to the 0.14.0 milestone Sep 2, 2020
angelozerr pushed a commit to angelozerr/lemminx that referenced this issue Sep 2, 2020
Fixes eclipse#864

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit to angelozerr/lemminx that referenced this issue Sep 2, 2020
Fixes eclipse#864

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Sep 4, 2020
Fixes #864

Signed-off-by: azerr <azerr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants