The <! declarations at the start need to be parsed to discover the namespace URIs without which you can't know which elements and attributes are part of the SVG spec.
On 27 Oct 2016 17:51, "Pietro Gagliardi" <andl...@lostsig.net> wrote: > What part of the document are you referring to? > > On Oct 27, 2016, at 11:42 AM, roger peppe <rogpe...@gmail.com> wrote: > > > > On 26 October 2016 at 23:50, Nigel Tao <nigel...@golang.org> wrote: > >> On Wed, Oct 26, 2016 at 7:20 PM, roger peppe <rogpe...@gmail.com> > wrote: > >>> This cannot be understated. A well known tool generates SVGs that the > >>> Go XML parser cannot parse because it uses XML directives to create XML > >>> entities that contain XML elements when they're expanded. This meant > >>> we couldn't process them at all (we wanted to adjust the view > >>> box parameter). > >> > >> Ooh, that's interesting. Can you share some more details? > > > > After some delving back into history, here's an example: > > > > https://api.jujucharms.com/charmstore/v5/~cf-charmers/ > trusty/cloudfoundry-205/archive/icon.svg > > > > -- > > You received this message because you are subscribed to the Google > Groups "golang-nuts" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to golang-nuts+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.