[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "Introducing MicroXML, Part 1: Explore the basicprinciples
On 4 July 2012 14:00, David Carlisle <davidc@nag.co.uk> wrote: > On 04/07/2012 13:39, Rushforth, Peter wrote: >> >> I'm guessing that in xml parsers today they would not do much. What does >> an xml parser do with xml:base value? > > > In parsers that support xml:base they use it to resolve any relative URI > specified in SYSTEM entity references. If they also support xinclude they > presumably use it to resolve references in that case. > > Given that a large part of xml _on the web_ is xhtml and that uses href > rather than xml:href, I still don't think you've provided any use case where > an application that understood this new xml:href proposal couldn't just as > simply understand an href attribute. xml:lang looks a good precedent to me. I don't think an XML parser does anything special with it, and it's use could easily be inferred by calling it simply 'lang' (without the 'xml:' prefix) and a regex on its value. But, because it's simple and easy to understand, it's arguably the most widely used of the XML namespace attributes. Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using XML C++ data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for more info
[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
|