XML Parsing Error: prefix not bound to a namespace

Brent Putman putmanb at georgetown.edu
Fri Apr 17 13:47:40 EDT 2020


On 4/17/20 9:00 AM, Lohr, Donald wrote:
>
>
> 1) When using a web browser and going after its ../idp/pub.. metadata 
> file url the following error is displayed (I've changed the url of 
> this IdP to protect the innocent):


Aside from the error itself, it's not clear how you are hosting things 
at /idp/pub like that. Not saying it's not possible or allowed, but I 
think you're assuming we know the technical details of what you're 
doing, and I don't think we do.


>
> XML Parsing Error: prefix not bound to a namespace
>
> Location: https://dummy.jmu.edu/idp/pub/jummy-metadata.xml
>
> Line Number 5, Column 13:
>
>             <shibmd:Scope regexp="false">jmu.edu</shibmd:Scope>
> ------------^
>
> What's the cause of this?


It's not clear to me what piece of software is raising that error...  
But the XML error itself is pretty clear.  In that XML document you 
apparently don't have a namespace declaration for the shibmd prefix.  
On the document root element, or at least on some ancestor element of 
that shibmd:Scope one, you must have an attribute like below.  Standard 
XML namespaces stuff.

xmlns:shibmd="urn:mace:shibboleth:metadata:1.0"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200417/2e59e695/attachment.html>


More information about the users mailing list