Op 06-Jan-12 16:40, Matthijs Laan schreef:
> Your URLs give a 403 Forbidden response.

Since I have no control over the server this cannot be resolved, however 
there is a copy of the brtachtergrondkaart capabilities document in the 
github repo at:
https://github.com/mprins/geozet/blob/geozet-4-2d/geozet-webapp/src/main/webapp/brtachtergrondkaart-caps.xml

it was too big to add as an attachment.

> On 2012-01-06 15:47, Mark Prins wrote:
>> Hi,
>> I finally got around to looking int this some more, the way it looks now;
>>
>> The request for version 1.3.0 capabilities [1] gives me a capabilities
>> document that for some reason throws a SAX parser error which traces
>> [2] back to my code where the WMS the WebMapServer() is constructed.
>> (BTW. I tried loading this url in uDIG 1.2.3 but the
>> problem/result/error is the same.)
>>
>> It seems that the SAX parser barfs on the inspire specific Extended
>> Capabilities tag:
>>
>>       <inspire_common:MetadataUrl 
>> xsi:type="inspire_common:resourceLocatorType">
>>
>> I'm not even sure what this tag actually means...  xsi is the wms
>> namespace and i've never seen a inspire_common:resourceLocatorType
>> type in there.. actually the longer I thnik about it the more my head
>> hurts..
>
> The xsi:type is there to specify the type of the element because the WMS
> 1.3.0 schema defines wms:_ExtendedCapabilities to be abstract.

right.

> xsi is
> not the prefix for wms but for a XML Schema instance.

having another look at the doc, right


> If the parser were to load the XML schemas referenced for the prefix
> inspire_common it could determine that the element is actually valid to
> appear in this position in the capabilities document.
>
> It may be too much for the SAX parser to look up XML schema's (with
> possible connection problems) for this and just ignore unexpected
> elements for unknown namespaces.
>
> It would be nice to get access to the Capabilities DOM via the API if a
> client application is interested in any extended stuff BTW.
>
> Matthijs
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to