Re: Allow <info> as root element?

Norm Tovey-Walsh <[email protected]> Mon, 28 Nov 2022 10:10:25 +0000
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
> currently, DocBook v5.2 (and previous versions) allows several elements as root
> element. However, it is currently not possible to use info "alone". Any reasons
> why?

I can see how reusing metadata might make sense in some environments. I
won’t speak for anyone else on the TC, but I tend to think of it as
being attached to something. It provides metadata for an element, and so
it’s not immediately obvious what it means sitting on its own.

It isn’t that I thought there was any reason to forbid it so much as it
never occurred to me that it would be useful.

> Imagine you would like to share some common meta information among several
> articles:

There’s obviously nothing that prevents you from doing this. You can
XInclude this metadata file into several articles and then validate
them.

It would be a very simple Relax-NG customization to allow info in the
“start” pattern then it could be validated independently.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/

> Every day is a good day.--Yun-men
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmOEiiQACgkQhVWfHhJM
AHnxYxAAgbeGhPvzJlfYzGhoPl0UgdtBXjDwBksalP1Jh0OqEiZcRTz/9FMGOPOX
AEu8ozkt0OPtP7iD8xpk0XFI3H/Avdd4lKE9z6AG9zPrnD/FfMf0bRcMcmQ2QyaB
4ErLc28n7jQXiwd1Y6JsXQery0AmoeZV0TI0pH1IWwIppMvCswznP0OnMaJAMBa1
eYjO9BP0Y9O5bCM4L4kYPH0Ihxl7Itpa9HffsDTl40WjdEjvZzjkftESCmdywKPt
9KxAeRyOhJSMlkFesEYIP04Yu19TsCZd63cUg3HRW1/miXQJ4HAshSFZQiCVg+ZL
eVQu08WmAoVgOg6opt9pDwZySkMkJpmMD8Gxrq257G44TENDjQrlEN8CWDtws1CW
/mGcGdFiCMlnMHMDvjfeOykT2qpzO1dI2Zh4ior66Q8xdKLdhNQqPq4Ttbvz1xSn
pFaX7MQLOwkho8UPC4q4rUV06b2p5E98AXmIVriYS7o8Ks7yu3kbkGjN7Qwl0Fx2
oCxQ7+n35LWt1jUGZXU9LTvwvCiO8mzU1bO+zO/rtJ4wR+5+jvq7JP2sJcsJRMNB
oB89yvnmIaizGTpVAsvyOjM4N9LO6M7LsN9Fr6zcRYWN7dTqtSO8joj0HUoiOnlT
AV/TUY7q0ndQDmshOR7TVtC9pJpNES+9oTAcwbTe4l8tfIO0Yac=
=nyou
-----END PGP SIGNATURE-----