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


Help: OASIS Mailing Lists Help | MarkMail Help

xacml message

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

Subject: JAXB: Question about XACML Policy schema for XACMLv2

The issue that I faced when generating a JAXB2 object model for xacmlv2 
schemas is mentioned in the email I sent to Anne separately. Not sure I 
received any reply from her.
--- Begin Message ---
   recently I tried generating a JAXB2 object model from the xacml2 
schemas.  The one issue that I faced was the following:


<xs:element name="Policy" type="xacml:PolicyType"/>
	<xs:complexType name="PolicyType">
			<xs:element ref="xacml:Description" minOccurs="0"/>
			<xs:element ref="xacml:PolicyDefaults" minOccurs="0"/>
			<xs:element ref="xacml:CombinerParameters" minOccurs="0"/>
			<xs:element ref="xacml:Target"/>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="xacml:CombinerParameters" minOccurs="0"/>
				<xs:element ref="xacml:RuleCombinerParameters" minOccurs="0"/>
				<xs:element ref="xacml:VariableDefinition"/>
				<xs:element ref="xacml:Rule"/>
			<xs:element ref="xacml:Obligations" minOccurs="0"/>
		<xs:attribute name="PolicyId" type="xs:anyURI" use="required"/>
		<xs:attribute name="Version" type="xacml:VersionType" default="1.0"/>
		<xs:attribute name="RuleCombiningAlgId" type="xs:anyURI" use="required"/>

There is an extra element reference (xacml:CombinerParameters).  I had to remove the element outside the choice to get the object model.

Have you seen this?


Anil Saldhana
Project/Technical Lead,
JBoss Security & Identity Management
JBoss, A division of Red Hat Inc.

--- End Message ---

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