PogiNate / XQuery-Sublime

Syntax highlighting and snippets for working with XQuery in general and MarkLogic in particular.
6 stars 3 forks source link

self-closing xml tags #2

Open laurelnaiad opened 10 years ago

laurelnaiad commented 10 years ago

Thanks for this package!

It seems that self-closing xml tags are breaking the parser, e.g.:

<myElement has="anAttribute" />

After the self-closing tag, essentially nothing is syntax-highlighted for the remainder of the file. Is this something others see?

ghost commented 10 years ago

I have had the same problem, and have just been avoiding it by just always using full tag pairs:

<myElement has="anAttribute" >
</myelement>

If it could be fixed to recognize either form, that would be very helpful though.