Gentoo Archives: gentoo-dev

From: Mark Loeser <halcy0n@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [GLEP 56] metadata.xml USE flag descriptions [Clarifications]
Date: Wed, 13 Aug 2008 19:16:03
Message-Id: 20080813191545.GC20961@aerie.halcy0n.com
In Reply to: Re: [gentoo-dev] [GLEP 56] metadata.xml USE flag descriptions [Clarifications] by Josh Saddler
1 Josh Saddler <nightmorph@g.o> said:
2 > If you're going for proper XML, then it should look like this:
3 >
4 > <flag name="png"/>
5 >
6 > XML doesn't put a space between the attribute and the closing slash --
7 > XHTML does. Common mistake. Also, use " for attributes, rather than '.
8
9 Well, if we want to nitpick, adding a space, tab, or newline is
10 perfectly valid, as is using ' to quote the attribute. :)
11
12 http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EmptyElemTag
13 http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-AttValue
14
15 --
16 Mark Loeser
17 email - halcy0n AT gentoo DOT org
18 email - mark AT halcy0n DOT com
19 web - http://www.halcy0n.com