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] Never mind the browser, let's do MicroXML

On 18/12/2010 16:03, Andrew Welch wrote:
> Does the problem of an empty element with a style that causes
> everything which follows it to have that style been solved?
>
> For example currently with
>
> foo<div style="font-weigh:bold"/>bar

it's been solved by specifying that as correct behaviour. (Not the 
choice I'd have made) In particular, the element is not empty.

<br/> parses as <br> and both are conforming.


<div/> is not conforming, but similarly parses as <div>

so the above parses as


  foo<div style="font-weigh:bold">bar

and bar is inside the div, so styled.

David


[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