<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stlab.adobe.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stlab.adobe.com/wiki/index.php?title=Locale-savvy_isspace&amp;feed=atom&amp;action=history</id>
		<title>Locale-savvy isspace - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stlab.adobe.com/wiki/index.php?title=Locale-savvy_isspace&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Locale-savvy_isspace&amp;action=history"/>
		<updated>2013-05-19T05:36:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://stlab.adobe.com/wiki/index.php?title=Locale-savvy_isspace&amp;diff=1499&amp;oldid=prev</id>
		<title>FosterBrereton: initial population</title>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Locale-savvy_isspace&amp;diff=1499&amp;oldid=prev"/>
				<updated>2006-07-24T18:24:55Z</updated>
		
		<summary type="html">&lt;p&gt;initial population&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;isspace() relies on the locale() - we currently document the CEL parser as assuming the &amp;quot;C&amp;quot; locale - we should note the same requirement in the XML parser. Later it would be good to have a library providing this functionality which is wired to utf encoding - most likely this would be along the lines of the current parser syntax - something like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
namespace implementation {&lt;br /&gt;
&lt;br /&gt;
template&amp;lt;std::size_t S&amp;gt;&lt;br /&gt;
struct is_space;&lt;br /&gt;
&lt;br /&gt;
template&amp;lt;&amp;gt;&lt;br /&gt;
struct is_space&amp;lt;1&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	template&amp;lt;typename I&amp;gt;&lt;br /&gt;
	bool operator()(I&amp;amp; x) const&lt;br /&gt;
	{&lt;br /&gt;
		if (space_table[*x]) { ++x; return true; }&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
template&amp;lt;&amp;gt;&lt;br /&gt;
struct is_space&amp;lt;2&amp;gt;&lt;br /&gt;
//...&lt;br /&gt;
&lt;br /&gt;
} // namespace implementation&lt;br /&gt;
&lt;br /&gt;
template&amp;lt;typename I&amp;gt; // I models InputIterator where value_type(I) == UTF encoded character&lt;br /&gt;
bool adobe::is_space(I&amp;amp; x)&lt;br /&gt;
{&lt;br /&gt;
	return adobe::implementation::is_space&amp;lt;sizeof(std::iterator_traits&amp;lt;I&amp;gt;::value_type)&amp;gt;()(x)&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>FosterBrereton</name></author>	</entry>

	</feed>