Hi, Thankfully the parser passes most of the XML conformance test suite so all the silly bugs have been worked out by this point.
Your code doesn't work because the XML parser auto-detects encodings, and thus it needs a binary stream, not a character stream. Try this instead -- it works,and its shorter too: "/tmp/blah.xml" binary <file-reader> [ . ] each-element Also maybe you should build a parse tree instead of using each-element: "/tmp/blah.xml" file>xml . Have fun, Slava On Sun, Mar 15, 2009 at 10:08 AM, Sascha Matzke <[email protected]> wrote: > Hi, > > please see https://paste.factorcode.org/paste?id=505 > > There you can find the XML snippet (a part from an Amazon AWS answer), > the factor code I'm using to parse this snippet and the (unexpected) > output. > It seems that the closing "Summary" tag isn't recognized. > > Sascha > -- > Through the darkness of future past > the magician longs to see > One chants out between two worlds > Fire walk with me. > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
