comp.lang.ada
 help / color / mirror / Atom feed
From: Bob Goddard <1963bib@googlemail.com>
Subject: Re: SVG Doctype using xmlada
Date: Wed, 1 May 2019 10:48:01 -0700 (PDT)
Date: 2019-05-01T10:48:01-07:00	[thread overview]
Message-ID: <cc8382b8-7543-462c-83a1-1ad1738b1863@googlegroups.com> (raw)
In-Reply-To: <ly1s1imcqx.fsf@pushface.org>

On Wednesday, 1 May 2019 16:10:50 UTC+1, Simon Wright  wrote:
[...]
> I get <?xml version="1.0" encoding="utf-8"?>; output at
> dom-core-nodes.adb:1436.
> 
> Are you sure you need standalone="no"?
> https://www.quora.com/What-does-Xml-version-1-0-encoding-utf-8-standalone-yes-mean
> says it could be left out with the same effect.
> 
> I think for the DOCTYPE you'd implement
> DOM.Core.Document_Types.Create_Document_Type, which currently returns
> null, and again you'd need to modify DOM.Core.Nodes.Write (:1450).
> 
> That's just a quick look ...

Yup, standalone=no was a bad example. It should have read yes.

I've extended dom-core-nodes.ad? & dom-core.ad? by making DOM_Implementation no longer null. Seems the logical place to put it. I'll post the code to the maintainers later and see if they are interested.

As for DOM.Core.Document_Types.Create_Document_Type, I did see that, but as it was null, I glossed over it. Need to have another look.

  reply	other threads:[~2019-05-01 17:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-01  9:34 SVG Doctype using xmlada Bob Goddard
2019-05-01 12:38 ` Simon Wright
2019-05-01 13:06   ` Bob Goddard
2019-05-01 15:10     ` Simon Wright
2019-05-01 17:48       ` Bob Goddard [this message]
2019-05-01 13:01 ` Olivier Henley
2019-05-01 13:07   ` Bob Goddard
2019-05-01 13:08 ` Shark8
2019-05-02  4:40 ` gautier_niouzes
2019-05-02 20:24   ` Bob Goddard
replies disabled

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