From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.58.111.202 with SMTP id ik10mr7866605veb.4.1395334855003; Thu, 20 Mar 2014 10:00:55 -0700 (PDT) X-Received: by 10.182.191.98 with SMTP id gx2mr77380obc.22.1395334854832; Thu, 20 Mar 2014 10:00:54 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!backlog4.nntp.ams3.giganews.com!backlog4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!news.glorb.com!hw13no6596977qab.1!news-out.google.com!gi6ni236igc.0!nntp.google.com!ur14no10693149igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 20 Mar 2014 10:00:54 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=199.209.144.214; posting-account=mjE6MAoAAADjsB3NIuKgfHO4u-Elh3cb NNTP-Posting-Host: 199.209.144.214 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1f79df5e-7fbd-4f94-b2c7-8afa754b31d5@googlegroups.com> Subject: Generating an XML DOM tree from scratch withXML/Ada 2013 From: Marc C Injection-Date: Thu, 20 Mar 2014 17:00:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2428 Xref: number.nntp.dca.giganews.com comp.lang.ada:185227 Date: 2014-03-20T10:00:54-07:00 List-Id: After writing up some pathfinding code to simply create a DOM document tree= from scratch, add a node, and write it out, I was perplexed that the names= pace data I was supplying was not showing up in the document. Imagine my surprise when looking at the Dom.Core.Create_Document() implemen= tation and seeing that the Namespace_URI (and Qualified_Name) parameters ar= e simply ignored. The comment in the spec simply states "Note that Namespac= e_URI can be the empty string if you do not want to use namespaces." Well, I *do* want (and need) to use namespaces. The implementation of various subprograms reference namespaces and qualifie= d names, and that seems to somehow tie into the SAX Symbol_Table that can b= e provided to Create_Document. But it ain't clear what one would have to d= o in that regard, not to mention I'm not sure I'm even reading the code rig= ht about all that. I've got XML_EZ_Out for outputting XML, but in this instance I preferred to= build the DOM tree and manipulate it, then write the whole thing out when = I was done. Anyone used the GNAT GPL 2013 XML/Ada packages for creating DOM trees with = namespaces? Thanks. Marc A. Criley