Stubbs
11-09-2006, 09:33 AM
I've run into an interesting little problem in the way that I use YUI.ext ...
We use XSLT to transform data returned from web services into web pages, but rather than return html, we set the content-type to application/xhtml+xml.
Now, all is fine until I tried to implement paging, and I started to get errors about not being a recognised entity. Turns out, this was coming from basic-grid-lib.js.
I tried to add an entity definition in the DOCTYPE for the stylesheet, but by default asp.net prohibits this. The easiest solution for me was to simply replace all the problem entities in the source with
Is there any overriding reason behind this? Is there any reason not to just use in the source?
We use XSLT to transform data returned from web services into web pages, but rather than return html, we set the content-type to application/xhtml+xml.
Now, all is fine until I tried to implement paging, and I started to get errors about not being a recognised entity. Turns out, this was coming from basic-grid-lib.js.
I tried to add an entity definition in the DOCTYPE for the stylesheet, but by default asp.net prohibits this. The easiest solution for me was to simply replace all the problem entities in the source with
Is there any overriding reason behind this? Is there any reason not to just use in the source?