xmlet / HtmlApiFaster

HtmlApiFaster is an alternative to HtmlApi, which uses XsdAsmFaster instead of XsdAsm in order to increase performance.
MIT License
7 stars 1 forks source link

Typo in attribute names #4

Open mhw opened 7 months ago

mhw commented 7 months ago

While reading the Java source I noticed a couple of typos that seem to have crept into the XML schema that the Java API is derived from. There are attributes ontoogle and onvolumenchange here, which I think should be ontoggle and onvolumechange.

I couldn't immediately track down a source for the schema being used here to see if there are any other differences, or a newer version that could be merged in.

fmcarvalho commented 7 months ago

Hi @mhw

The only XSD that I found is from KotlinX.html, which uses a similar approach to ours to generate its API. I am not sure if it is completely correct, or not. E.g. it misses the ontoggle.

https://github.com/Kotlin/kotlinx.html/blob/master/buildSrc/src/main/resources/html_5.xsd