OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xacml-comment] looking for help in using your schema


Title: looking for help in using your schema
Peter,

It sounds like something is wrong in your setup of the schema validator or your own schema. The "matching wildcard is strict" suggests that it is complaining in the context of a surrounding element. This implies you are working with two schemas. Are you sure you imported the schema correctly and loaded both schemas into the parser?

Best regards,
Erik


On 2011-08-19 17:59, Zelechoski, Peter wrote:

I am trying to include your schema through the xmlns declaration in my document and then use elements from it in my document.  However, I am running into trouble trying to make it work.

Here is what my namespace declaration looks like:

xmlns:ao="urn:oasis:names:tc:xacml:2.0:context:schema:os"

Here is what my element looks like:

<ao:Resource><ao:ResourceContent>en-US</ao:ResourceContent><ao:Attribute>DocumentLanguage</ao:Attribute></ao:Resource>

The result I am getting is a message that:

E cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ao:Resource'

When I look at the schema, Resource seems to be an available element but the xml validator doesn’t like it.  Can someone tell me what is causing this?  This method works with other namespaces that I am using (primarily CIQ).

- Peter




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]