Dear Sir, When I use the attached xml file in xmlmind I get the warning: [2] <1> bad value for attribute "id" from namespace " http://www.w3.org/XML/1998/namespace" [3] <2> bad value for attribute "linkend"
The problem looks like to be the ':' in the xml:id. I searched the internet and also some things on stackoverflow( https://stackoverflow.com/questions/1077084/what-characters-are-allowed-in-dom-ids), but from this I didn't see any restriction in using a ':' in an xml:id. Did I miss something or it this an omission in xmlmind? Best Regards, Albert <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
<?xml version='1.0' encoding='UTF-8' standalone='no'?> <book xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_index"> <info> <title>My Project</title> </info> <chapter> <title>Bibliography</title> <section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_citelist"> <para> <variablelist> <varlistentry><term><anchor xml:id="_citelist_1CITEREF_cgal:eb-19a"/>[1]</term> <listitem> <para>The CGAL Project. <link xlink:href="https://doc.cgal.org/4.14/Manual/packages.html"><emphasis>CGAL User and Reference Manual</emphasis></link>. CGAL Editorial Board, 4.14 edition, 2019.</para> </listitem> </varlistentry> </variablelist> </para> </section> </chapter> <chapter> <title>File Documentation</title> <section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_aa_8h"> <title>aa.h File Reference</title> <indexterm><primary>aa.h</primary></indexterm> <section> <title>Detailed Description</title> <para>a reference with a colon: <link linkend="_citelist_1CITEREF_cgal:eb-19a">[1]</link> </para> </section> </section> </chapter> <index/> </book>
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support