rogalmic / vscode-xml-complete

XML editing helper (using XSD schemaLocation)
MIT License
28 stars 14 forks source link

XML Parser Used. #10

Open bd82 opened 5 years ago

bd82 commented 5 years ago

Hello.

I see this project is using SAX to parse XML and then perform additional logic on the tags output stream.

Does SAX provide full parsing capabilities for the use case of building editor services?

The reason I am asking is because I've implemented a Parser building library in JS:

Which provides editor related infrastructure capabilities:

There is also an XML grammar example:

Feel free to contact me if this is of interest to you.

Cheers. Shahar.

rogalmic commented 5 years ago

Actually, SAX is very low level, which i was looking for at the time. The purpose of this extension is to have basic XML functionality (tag complete, linter, format) with small dependency list (I was not able to find such extension for vscode).

I will check this Chevrotain, for now keeping this open.

bd82 commented 5 years ago

Some potentially relevant productive examples in the context of LSP / Editor Services.