Re: simple markup format



"Dominic Ludlam" <dom@recoil.org> writes:
> 
> Simple point first - in g_markup_node_get_attributes there is the following
> loop:
>

Oops, fixed.
 
> If this is a generic XML subset parser, then it may be nice to support the xml
> shorthand for tags with no children
> 
>     <element foo="bar" />
> 
> This looks relatively simple to add:
>

Thanks for the code, this is probably a good idea.

Also Owen wants Unicode char escapes, &#3432; etc.
 
> Another point - at the end of parse_element there is
> 
>     g_markup_node_get_attributes (node, NULL, NULL, NULL);
>   
> which doesn't look like it does much so I didn't put it in the code
> above - is it important?
> 

Debug thing, removed now.

Havoc






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]