Sundial Services wrote: > I don't know if additional declarations are needed for <xi:include> > > The verification command is: > xmllint --postvalid --xinclude --noout cs60_pro_userguide_book.xml > > XXE 4.4.0 rejects the document, highlighting four places: (1) > "trademark:registered" because "the sequence of child elements is > incorrect,"
This means that your catalog points to a very old DocBook DTD and not to the DocBook 4.4 DTD. > and (2) each XInclude with "element cannot contain element > xi:include." This means that the xi:include elements are not transcluded. > > Although xmllint does grind away a while running through about 400 > files, it does validate, provided that "--xinclude" is specified > as-required. It does not object to the order of any child elements, > as XXE does. > > I do not know if XXE's validator consults "/etc/xml/catalog" (et al) > to look for DTDs and I have not yet studied the config-file reference > to see if anything relevant is in there. I do, however, observe that > indeed there seem to be a set of templates for "V4.4" installed with > the XXE product (as well as those listed in the catalog, which are > fresh and new). > > The file that is being rejected was made, at one time, by XXE, and has > not been manually modified. Your document is fine: xmllint is right, XXE v3 was right. But XXE v4 is also OK: as expected, cs60_pro_userguide_book.xml opens without any problem in my copy of XXE v4.4. See XXE's status bar in the attached screenshot. (I've just created fake chapter_v60_installation.xml, chapter_macx_syntax.xml, chapter_macx_functions_reference.xml in order to let XXE process the XIncludes.) Therefore the problem comes from your working environment, probably from your customization of DocBook: please check it. Please also check your environment variables (e.g. XXE_ADDON_PATH, see http://www.xmlmind.com/xmleditor/_distrib/doc/help/environment_variables.html). Please temporarily remove the directory ~/.xxe4/addon/config/Docbook/ directory and also clear the schema cache ("Options|Preferences", "Advanced|Schema cache" section, "Clear Cache" button), then test if you can now open cs60_pro_userguide_book.xml. -------------- next part -------------- A non-text attachment was scrubbed... Name: cs60_pro_userguide_book.png Type: image/png Size: 113906 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20090725/d0c55b20/attachment-0001.png

