Wikidata:Property proposal/XML namespace
Jump to navigation
Jump to search
XML namespace
[edit]Originally proposed at Wikidata:Property proposal/Generic
Description | URI that identifies uniquely a set of XML elements |
---|---|
Represents | XML namespace (Q2295992) |
Data type | URL |
Domain | ?item based on (P144) XML (Q2115) |
Allowed values | Uniform Resource Identifier (Q61694) |
Example 1 | SVG (Q2078) → http://www.w3.org/2000/svg |
Example 2 | Extensible HyperText Markup Language (Q166074) → http://www.w3.org/1999/xhtml |
Example 3 | Resource Description Framework (Q54872) → http://www.w3.org/1999/02/22-rdf-syntax-ns# |
Planned use | Include it on Template:Authority control (Q3907614) |
Expected completeness | always incomplete (Q21873886) |
See also | Formal Public Identifier (P4506) |
Motivación
[edit]XML namespaces identifies many standard and privative XML formats. I think they can be used in many other situations. --Tinker Bell ★ ♥ 23:53, 26 October 2019 (UTC)
Discussion
[edit]- Support though I'm not entirely sure the examples are correct right now... ArthurPSmith (talk) 19:08, 28 October 2019 (UTC)
- @ArthurPSmith: Why? --Tinker Bell ★ ♥ 05:33, 29 October 2019 (UTC)
- @Tinker Bell: I don't have examples of use of those specific cases in front of me right now, but I thought all XML namespaces had to end in either a '/' or '#' character, so that elements using those namespaces would be properly prepended. So one of your examples looks right, but the others do not. ArthurPSmith (talk) 13:45, 29 October 2019 (UTC)
- @ArthurPSmith: The examples are ok. You can see, for example, the XHTML namespace page, and it's source code (view-source:http://www.w3.org/1999/xhtml). --Tinker Bell ★ ♥ 18:13, 29 October 2019 (UTC)
- Hmm, I guess I'm accustomed to the pattern in RDF, where the local part is always concatenated onto the namespace, but maybe XML itself doesn't require that? See the RDF syntax spec for details on that concatenation - which I guess it doesn't inherit from the XML spec since that spec doesn't specify it... ArthurPSmith (talk) 22:05, 29 October 2019 (UTC)
- @Tinker Bell: I don't have examples of use of those specific cases in front of me right now, but I thought all XML namespaces had to end in either a '/' or '#' character, so that elements using those namespaces would be properly prepended. So one of your examples looks right, but the others do not. ArthurPSmith (talk) 13:45, 29 October 2019 (UTC)
- @ArthurPSmith: Why? --Tinker Bell ★ ♥ 05:33, 29 October 2019 (UTC)
- Support Catherine Laurence discussion 12:14, 30 October 2019 (UTC)
@ArthurPSmith, Tinker Bell: Done: XML namespace URL (P7510). − Pintoch (talk) 15:34, 3 November 2019 (UTC)