On 11/09/2007, John Cowan <[EMAIL PROTECTED]> wrote:
>
> nic.corbas scripsit:
>
>  > The error is:
>  >
>  > Description: conflicting ID-types for attribute "Id" of element
>  > "EncryptedKey" from namespace "http://www.w3.org/2001/04/xmlenc#";
>
>  I haven't actually looked at the schema, but the usual reason for that
>  problem is that the schema says EncryptedKey/@Id is of type ID, and then
>  somewhere else there's a pattern allowing any element in any namespace
>  with any attributes, either everywhere or just in certain places.
>
>  The latter pattern declares all attributes to be of type text, and since
>  IDness is a DTD-compatible property, it's illegal for the same attribute
>  in the same element to be declared as ID in one place and text in another.
>
>  The cure is to find the "any" pattern and limit it so that it doesn't
>  include elements in the xmlenc namespace.  Alternatively, you can give
>  jing the -i switch to turn off this behavior.  Technically, IDness is
>  not part of RELAX NG, so it's not too surprising that some programs
>  don't complain.

Ah, bells ring. I had some sort of similar problem with DocBook and
you can tell oxygen not to check ID types.

thank ee kindly

nic

-- 
Nic Gibson
Director, Corbas Consulting
Editorial and Technical Consultancy
http://www.corbas.co.uk/

Reply via email to