XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basicprinciples of MicroXML"

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS