On Fri, Aug 24, 2012 at 5:05 PM, Justin Deoliveira <[email protected]>wrote:

> Yeah, in the past i have done just this. Have the pre-canned DFT response
> sitting alongside the test case, and then copy it out into temp and change
> the reference in the xml file to point to it. Can't remember exactly where
> that was... i will try to look for it.
>
> Another possibility would be to place a custom schema locator or location
> resolver into the context. Those interfaces are used just for purposes such
> as this.
>

Followed your suggestion and yes, it works fine, the validation passes once
Parser learns how to handle xsi:nil,
for which I have a patch here:

http://jira.codehaus.org/browse/GEOT-4244

I guess the encoder will need a similar one?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to