comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: AdaCore xmlada throws XML_Fatal_Error on <script> tag
Date: Sat, 9 Sep 2017 11:07:58 -0700 (PDT)
Date: 2017-09-09T11:07:58-07:00	[thread overview]
Message-ID: <a79ab51a-a275-4a31-8434-1ced7a72ab3c@googlegroups.com> (raw)
In-Reply-To: <89ddaea8-4c5e-4d16-979d-45237ea32750@googlegroups.com>

On Friday, September 8, 2017 at 12:38:02 AM UTC-5, Stephen Leake wrote:
> On the other hand, there are no queries on the HT_object; I'll have to add some. I guess there's no chance of forcing the HTML into an XML DOM? I'll try to model the queries after DOM queries.
> -- Stephe

I got my data grabber working. The only "query" I implemented is a cursor to walk the tree; first_child, next_sibling. And I made HTML_kind visible.

I had to improve the parsing of <script> tags; it got confused by "<=".

I'll send you a diff, after I clean up the accidental whitespace changes.

-- Stephe


  parent reply	other threads:[~2017-09-09 18:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07  1:10 AdaCore xmlada throws XML_Fatal_Error on <script> tag Stephen Leake
2017-09-07  6:21 ` briot.emmanuel
2017-09-07 19:56   ` Stephen Leake
2017-09-08 23:31     ` Georg Bauhaus
2017-09-07 15:12 ` gautier_niouzes
2017-09-07 20:03   ` Stephen Leake
2017-09-07 20:05   ` gautier_niouzes
2017-09-07 20:47     ` Stephen Leake
2017-09-07 20:52       ` Stephen Leake
2017-09-07 20:54         ` Stephen Leake
2017-09-07 21:46       ` gautier_niouzes
2017-09-08  2:12         ` Stephen Leake
2017-09-08  5:38           ` Stephen Leake
2017-09-08 16:55             ` Shark8
2017-09-09 18:07             ` Stephen Leake [this message]
2017-09-09 19:35               ` Simon Wright
2017-09-08  5:40           ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox