function ClassifyPdfUaNamespace(const NamespaceUri: WString): TPdfUaNamespaceKind;
| NamespaceUri | WString |
TPdfUaNamespaceKindClassifyPdfUaNamespace recognises the well-known namespace URIs of ISO/TS 32005 and returns the matching kind
| NamespaceUri | Result |
|---|---|
'' | punkMissing |
http://iso.org/pdf/ssn | punkPdf17 |
http://iso.org/pdf2/ssn | punkPdf20 |
http://www.w3.org/1998/Math/MathML | punkMathMl |
http://www.w3.org/ns/aria# | punkAria |
http://www.w3.org/ns/role/dpub# | punkDpub |
| any other value | punkCustom |
The comparison is exact and case-sensitive, so a URI that differs in scheme, host, path, case or trailing fragment falls through to punkCustom
Kind := ClassifyPdfUaNamespace(Elements[I].NamespaceUri);