[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Summary of critiques of XML Namespace from comments toJame
On 24/07/2021 08:17, Rick Jelliffe wrote:
I like the idea of dispensing with URIs in namespaces as well. The simplest idea I can come up with is using inverse domain names as fully qualified names and having children inherit the namespace of their parent if they aren't fully qualified. So you might have: <com.example.myvocabulary.top> which would be equivalent to: <com.example.myvocabulary.top> (For a new syntax you could even say that an end tag adopts the
namespace of its start tag if it is not fully qualified, for
example: <com.example.myvocabulary.top> You could either rely on search engines to find out more details about the com.example.myvocabulary vocabulary, or have an algorithm such that you first query http://example.com/myvocabulary and if that doesn't yield anything, you look up http://myvocabulary.example.com/ This would also work with JSON. Cheers, Pete. -- --------------------------------------------------------------------- Pete Cordell Codalogic Ltd Read & write XML in C++, http://www.xml2cpp.com ---------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|