On 11-01-06 10:15 AM, Mark A. Hershberger wrote:
> Thinking about this question from the other day and the apparently deep
> conviction that XML is the magic elixir, I had to wonder: what about the
> existing Preprocessor_DOM class?
>
> I'm asking out of ignorance.  I realize a the preprocessor is not the
> parser, but it does turn the WikiText into a DOM (right?) and that
> could, conceivably, be used to create different parsers.
>
> What am I missing?
>
> Mark.
The preprocessor only handles a minimal of WikiText... it's only 
function is things like template hierarchy, parser functions, and 
perhaps tags. It doesn't do any of the pile of other WikiText syntax.
It's also not really anything special to do with XML, we have a 
Preprocessor_Hash too which iirc uses php arrays instead of a dom.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]


-- 
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to