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," and (2) each XInclude with "element cannot contain element
xi:include."

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.



On Fri, Jul 24, 2009 at 11:58 AM, Hussein Shafie<hussein at xmlmind.com> wrote:
> sundial wrote:
>> I have some (apparently DocBook 4.4) docs, with <!DOCTYPE>s to match.
>> XXE made them (in v3), now insists they are "invalid." Doesn't like
>> the XIncludes or registered trademarks. Meanwhile, xmllint gives them
>> a passing grade. I believe xmllint, but XXE basically won't edit the
>> files anymore. What gives, and how do I fix it?
>>
>> Everything now has a proper DocType declaration. It is V4.4.
>
> Please send me one of such documents.
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cs60_pro_userguide_book.xml
Type: text/xml
Size: 1333 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20090724/3e199566/attachment-0001.xml
 

Reply via email to