Hi
I was trying to use SecurityManager's setMaxOccurNodeLimit to limit the occurrences of any node in an XML doc. However, I am not clear when and how to use this.
Is this limit checked when actually parsing the schema (thus overriding the number in the schema if greater), or when parsing the instance doc? If earlier, then on which class should I set this property (I am using XMLGrammarCachingConfiguration with XMLGrammarPoolImpl)? I guess that for the later, it is set with
SAXParser.setProperty.
Please let me know if you need more info.
thanks,
Samrak
- Usage of SecurityManager's setMaxOccurNodeLimit Samrat Ketu
- Re: Usage of SecurityManager's setMaxOccurNodeLi... Michael Glavassevich
- Re: Usage of SecurityManager's setMaxOccurNo... Samrat Ketu
- Re: Usage of SecurityManager's setMaxOcc... Jeff Greif
