Relax NG Compact, Syntax Coloring
Posted: Tue Jul 04, 2006 2:17 pm
I have a problem with the syntax coloring in a *.rnc file.
This is my code:
In the pattern of the first declaration of the attribute I use a range ( [..] ).
From the point where I use that code the rest of the documents syntax coloring
isn't right anymore. All the code colors black and the text between " and " colors red..
Is there a solution for this problom?
Greets,
Chris.
This is my code:
Code: Select all
element country {
( attribute car_code { xsd:ID {pattern="[A-Z]{1,3}"}} |
attribute car_code { xsd:ID {pattern="cid-cia-.+"}} )?,
From the point where I use that code the rest of the documents syntax coloring
isn't right anymore. All the code colors black and the text between " and " colors red..
Is there a solution for this problom?
Greets,
Chris.