# ./bin/metadatagen.sh -o /tmp/out.xml
# xmllint /tmp/out.xml
/tmp/out.xml:20: parser error : Opening and ending tag mismatch: Description line 18 and UIInfo
</mdui:UIInfo>
^
/tmp/out.xml:22: parser error : Opening and ending tag mismatch: Description line 18 and Extensions
</Extensions>
^
/tmp/out.xml:92: parser error : Opening and ending tag mismatch: DisplayName line 17 and IDPSSODescriptor
</IDPSSODescriptor>
^
/tmp/out.xml:93: parser error : Opening and ending tag mismatch: DisplayName line 17 and EntityDescriptor
</EntityDescriptor>
^
/tmp/out.xml:94: parser error : Premature end of data in tag UIInfo line 16
^
The <mdui:DisplayName> and <mdui:Description> closing tags are missing a /. Diff to correct out.xml is:
# diff /tmp/out.xml /tmp/out-fixed.xml
--- /tmp/out.xml
+++ /tmp/out-fixed.xml
@@ -14,8 +14,8 @@
<Extensions>
<shibmd:Scope regexp="false">exmaple.ac.uk</shibmd:Scope>
<mdui:UIInfo>
- <mdui:DisplayName xml:lang="en">Example University<mdui:DisplayName>
- <mdui:Description xml:lang="en">The University of Example, United Kingdom<mdui:Description>
+ <mdui:DisplayName xml:lang="en">Example University</mdui:DisplayName>
+ <mdui:Description xml:lang="en">The University of Example, United Kingdom</mdui:Description>
<mdui:Logo height="80" width="60">https://idp.example.ac.uk/logo.png</mdui:Logo>
</mdui:UIInfo>
# ./bin/metadatagen.sh -o /tmp/out.xml # xmllint /tmp/out.xml /tmp/out.xml:20: parser error : Opening and ending tag mismatch: Description line 18 and UIInfo </mdui:UIInfo> ^ /tmp/out.xml:22: parser error : Opening and ending tag mismatch: Description line 18 and Extensions </Extensions> ^ /tmp/out.xml:92: parser error : Opening and ending tag mismatch: DisplayName line 17 and IDPSSODescriptor </IDPSSODescriptor> ^ /tmp/out.xml:93: parser error : Opening and ending tag mismatch: DisplayName line 17 and EntityDescriptor </EntityDescriptor> ^ /tmp/out.xml:94: parser error : Premature end of data in tag UIInfo line 16 ^
The
<mdui:DisplayName>
and<mdui:Description>
closing tags are missing a/
. Diff to correctout.xml
is:# diff /tmp/out.xml /tmp/out-fixed.xml --- /tmp/out.xml +++ /tmp/out-fixed.xml @@ -14,8 +14,8 @@ <Extensions> <shibmd:Scope regexp="false">exmaple.ac.uk</shibmd:Scope> <mdui:UIInfo> - <mdui:DisplayName xml:lang="en">Example University<mdui:DisplayName> - <mdui:Description xml:lang="en">The University of Example, United Kingdom<mdui:Description> + <mdui:DisplayName xml:lang="en">Example University</mdui:DisplayName> + <mdui:Description xml:lang="en">The University of Example, United Kingdom</mdui:Description> <mdui:Logo height="80" width="60">https://idp.example.ac.uk/logo.png</mdui:Logo> </mdui:UIInfo>