thymeleaf / thymeleaf-docs

Thymeleaf documentation
Apache License 2.0
44 stars 54 forks source link

Note on not using XML namespace prefix other than 'th' #14

Closed amr closed 8 years ago

amr commented 9 years ago

Addressing the current limitation in Issue #9: Support XSD Schema and XML Namespaces

danielfernandez commented 9 years ago

Actually, you can use prefixes other than th. In fact you can use any prefix by configuring it when adding your dialect to the system. The only limitation is that you can only use th if you expect your markup to be validated by means of the Thymeleaf DTD files in the VALIDXHTML and VALIDXML template modes...

amr commented 9 years ago

That's pretty nice, but I think it's a bit unexpected. This is usually transparent to the parser with no requirement to do something in the engine. IMHO this still needs to be mentioned somewhere, I could work on a new PR if you agree