raffazizzi / vscode-sxml

Scholarly XML. VSCode extension with features typically needed by academic encoding projects.
MIT License
29 stars 4 forks source link

Problems with regular expressions #3

Open rettinghaus opened 4 years ago

rettinghaus commented 4 years ago

There seems to be a problem with validating RegEx in attributes:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0">
  <meiHead>
    <fileDesc>
      <titleStmt>
        <title>Simple test file RegEx</title>
      </titleStmt>
      <pubStmt>
        <respStmt>
          <persName>Klaus Rettinghaus</persName>
        </respStmt>
      </pubStmt>
    </fileDesc>
  </meiHead>
  <music>
    <body>
        <div>
            <p>
                <rend color="rgb(99,99,99)"></rend>
                <rend color="hsl( 360 , 100% , 100%)"></rend>
            </p>
        </div>
    </body>
  </music>
</mei>