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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-dev message

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


Subject: are < and > forbidden characters in string attributes??


Hi everybody,

Just a little question:

I’m trying to put the following text in the <AttributeValue> Element.

What I’d like to do is:

<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string";>
	<gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>
	  <gml:coordinates decimal="." cs="," ts=" ">-59.478340,-52.226578 	  
</gml:coordinates>
	</gml:Point>
</AttributeValue>


Unfortunately I always get an error message when executing the PDP.


Nov 17, 2004 7:10:45 PM com.sun.xacml.finder.impl.FilePolicyModule
loadPolicy
WARNING: Error reading policy from file ../policy/policy_22_9.xml
java.lang.NullPointerException
        at com.sun.xacml.cond.FunctionBase.checkInputs(Unknown Source)
        at com.sun.xacml.cond.Apply.<init>(Unknown Source)
        at com.sun.xacml.cond.Apply.getInstance(Unknown Source)
        at com.sun.xacml.cond.Apply.getInstance(Unknown Source)
        at com.sun.xacml.cond.Apply.getInstance(Unknown Source)
        at com.sun.xacml.cond.Apply.getConditionInstance(Unknown Source)
        at com.sun.xacml.Rule.getInstance(Unknown Source)
        at com.sun.xacml.Policy.<init>(Unknown Source)
        at com.sun.xacml.Policy.getInstance(Unknown Source)
        at com.sun.xacml.finder.impl.FilePolicyModule.loadPolicy(Unknown
Source)
        at com.sun.xacml.finder.impl.FilePolicyModule.init(Unknown Source)
        at com.sun.xacml.finder.PolicyFinder.init(Unknown Source)
        at com.sun.xacml.PDP.<init>(Unknown Source)
        at SimplePDP.<init>(SimplePDP.java:298)
        at SimplePDP.main(SimplePDP.java:358)




When I’m changing the string into the following one than everything works
fine. 

<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string";>
	&lt;gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"&gt;
	&lt;gml:coordinates decimal="." cs="," ts=" "&gt;-59.478340,-52.226578
	&lt;/gml:coordinates&gt;
	&lt;/gml:Point&gt;
</AttributeValue>

What am I doing wrong? I looked through the checkInputs function but I
couldn’t find where this error comes from?

Thanks
Jan

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!


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