xmllint error

Marcus Wellnitz marcus at wellnitzfamily.de
Wed Jan 28 15:44:18 EST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Cristian,

just a hint (no ad'):
We are using docbook for Network/Server documentation for a couple of years.
for a better handling of DocBook files we use always "Serna-Free"
XML-Editor for any human editing.

It's a little bit tricky to understand how to use it but it's much
better than Notepad ;-)

Greetings

Marcus

Am 28.01.2015 um 19:46 schrieb David T.:
> Cristian,
>
> Thanks for the clear explanation of the underlying DocBook processes.
The problem was, as you suspected, a change in the chapter I had edited,
and had to do with initial attempts to insert high-level Part
designations. I figured out that I could place these in
gnucash-guide.xml to achieve the result I sought.
>
> Again, thanks.
>
> David
>
> On Jan 28, 2015, at 12:39 AM, cri79 at libero.it wrote:
>
>> HI David,
>> good to know you are tackling the learning curve on dockbook! Can you
provide
>> the xml file you have modified so that I can check myself what the
error means?
>> I suspect you missed some proper tagging in the section you edited so
you are
>> getting the error. At first it is quite difficult to locate the
problem but
>> then with some experience you get better at finding errors.
>>
>> Let me briefly explain how xml dockbook works: we have a "main" file
called
>> gnucash-guide.xml that contains all references to many other xml
files (one for
>> any chapter in the guide). That is why you are getting the error for
gnucash-
>> guide.xml although you don't edited it. When you run xmllint, it
expands the
>> xml files creating virtually only one xml file.  The ":473" after
"gnucash-
>> guide.xml" in the error message, means the error is on row 473 of the
fully
>> expanded document (in fact, the plain gnucash-guide.xml don't have so
many
>> lines).
>>
>> Regards
>> Cristian
>>
>>> ----Messaggio originale----
>>> Da: sunfish62 at yahoo.com
>>> Data: 28/01/2015 7.48
>>> A: "GNUCASH devel"<gnucash-devel at gnucash.org>
>>> Ogg: xmllint error
>>>
>>> Hi,
>>>
>>> I have begun the task of using Approved Methods to update the Guide
document,
>> and I have run into an error that I do not understand. The error is:
>>>
>>> gnucash-guide.xml:473: element book: validity error : Element book
content
>> does not follow the DTD, expecting ((title , subtitle? ,
titleabbrev?)? ,
>> bookinfo? , (dedication | toc | lot | glossary | bibliography |
preface |
>> chapter | reference | part | article | appendix | index | setindex |
colophon)
>> *), got (bookinfo CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA
CDATA CDATA
>> CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA
CDATA CDATA )
>>> </book>
>>>
>>> The reason I find this odd is that I have not edited the main xml
file at
>> all. I edited chapter 1, which doesn’t create any errors (i.e, this
is the
>> extent of the output I receive).
>>>
>>> I cloned the docs earlier today using the prescribed "git clone https:
>> //github.com/Gnucash/gnucash-docs gnucash-docs”, and received this
error from
>> executing "xmllint --valid --noout gnucash-guide.xml"
>>>
>>> Can anyone explain to me why this error is cropping up, and what I
need to do
>> to make it go away?
>>>
>>> Thanks,
>>> David
>>> _______________________________________________
>>> gnucash-devel mailing list
>>> gnucash-devel at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>>
>>
>>
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


- -- 
Marcus Wellnitz
GPG Fingerprint: 07D4 C8D7 F5FB CC00 EDF1 0FCB DEED 2417 9BF6 4022
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUyUoiAAoJEN7tJBeb9kAiB44QAMJkRMq9w0ci2x1xVL0nuU9/
hUNzYz4tHnd4yCSvCBhDhrcwKKgNby1igsQGXeO4zVv0zrcvujy1DBDXENH5yWYE
gEav8fn/ksr4XK86zuzO6LfNA/TbgSmcyTq0F/K4r7SpTXQfs0RoISeZIzeyMKQV
YQPZng2OR+mNArRafyxJDJ/TLP1FTqHsSAxPG1HsbWOhvPzTiL4QLHbq1Pb+WeW5
VMyJjipMVar9kkBdwlfNUFlxAji+RSKabnI2bO8Q/PFRo5/I6UvJfsww1jNsLTGX
Aqnbsnpu+TlURLMyNKBLWFJuKPGtYkVDtfi87NgUpHlZdIUF6FCWwr2UMkcQuQfj
3EaQsXoHOV6MmVyJKvj97mfNU0YOERELWHtAkqq4hjsZPX8nYYT4vpcNzfPrlMWf
jnihVptdvIOqEAaiuoPAmxtqNAglyTaZmExLSpP+uLwt0KcBztnAZJ5rcSpFFX1l
xcnc79C64PTM6LrnFpcd7EqMs+s/TJWyemGik1QIRtxrwsVjI+cnjvJnXGvkXiNL
8a64ImC9XWaEYduCH7BXLo4dg/Gh6P4qje8AxxKbyntx8fL4nVQi3JlkFZGdr9dk
SIz2tqSyqLsGr3lvC8J9aze/RLvgAjycL/EIjKhaC8utSas9EP3IzGdMlonJCkyW
odCgcfec7WREBXSAWHsp
=IVLZ
-----END PGP SIGNATURE-----



More information about the gnucash-devel mailing list