[
Lists Home |
Date Index |
Thread Index
]
> >I think that catching what I call "void path expressions" is
> one of the
> >big potential advantages of binding a stylesheet to a schema.
> >Unfortunately, while a lot of the type inferencing machinery is in
> >place to do it, the last few links in the chain aren't there yet.
>
> I've heard talk about an XSLT "lint" that would catch this
> kind of error with knowledge of the input schema/dtd but
> without static typing built deep into XLST or reference to
> types in the stylesheet. Is such a thing just a thought
> experiment, or has anyone done such a thing?
>
I'm not aware that anyone has tried it. Doing it properly certainly does
require fairly deep knowledge. On the other hand, plenty of people have
made money out of superficial approaches to such things that use very
simple heuristics.
Michael Kay
|