Re: XM_FORMATTER

"Franck Arnaud" <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
Stephanie Balzer:
> Thus, I generate the events as follows:
> > Unfortunately, what I get is:
> 
> <!--A xml example--><note xmlns="" xmlns:ns1="">
>   <to>Tove</to>
>   <from>Jani</from>
>   <heading>Reminder</heading>
>   <body>Don't forget me this weekend!</body>
> </note>

I think this is unfortunately probably still buggy in 3.3 
and has been fixed since then. Also in your case you can 
but do not need at all XM_FORMATTER and can use the 
printing event filter XM_PRETTY_PRINT_FILTER directly 
down the filter pipe (in CVS, XM_FORMATTER just unfolds 
the tree and generates events, so using XM_FORMATTER 
is quite useless, as you do events -> tree -> events).

If you do need proper xmlns support you need to put 
the XM_XMLNS_GENERATOR filter BEFORE the pretty 
printing.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.