XML Parsing Error: prefix not bound to a namespace

Lohr, Donald lohrda at jmu.edu
Wed May 6 22:16:22 UTC 2020


That deceleration (xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" ) you 
mentioned below is part of the IdP metadata file.  But comparing it IdP 
metadata file to our production IdP our testing IdP's metadata does not 
have the following line, which our production IdP metadata does (as the 
first line):

<?xml version="1.0" encoding="UTF-8"?>

thx

On 4/17/20 1:47 PM, Brent Putman wrote:
>
>
> 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"
>

-- 
D o n a l d   L o h r
I n f o r m a t i o n   S y s t e m s
J a m e s   M a d i s o n   U n i v e r s i t y
5 4 0 . 5 6 8 . 3 7 3 0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200506/8fcbc580/attachment.htm>


More information about the users mailing list