diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-08 15:35:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-08 15:35:23 +0200 |
commit | 7db026e8056914d113ac0bbfd9bdc4908a9e7874 (patch) | |
tree | 0ab15cb8b0ee160a10cca21edaf0aca1e97e8921 /xsde/cxx/serializer | |
parent | 4f38adc11ab1a3a1ab2dd3f958c917182be7d71f (diff) |
Add support for the whiteSpace facet
Use the same mechanism to handle whitespace processing for build-in types
and enumerations.
Diffstat (limited to 'xsde/cxx/serializer')
-rw-r--r-- | xsde/cxx/serializer/serializer-header.cxx | 3 | ||||
-rw-r--r-- | xsde/cxx/serializer/serializer-inline.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/xsde/cxx/serializer/serializer-header.cxx b/xsde/cxx/serializer/serializer-header.cxx index 3a10942..550d742 100644 --- a/xsde/cxx/serializer/serializer-header.cxx +++ b/xsde/cxx/serializer/serializer-header.cxx @@ -1066,7 +1066,8 @@ namespace CXX ub.is_a<SemanticGraph::Fundamental::UnsignedByte> () || ub.is_a<SemanticGraph::Fundamental::UnsignedShort> () || ub.is_a<SemanticGraph::Fundamental::UnsignedInt> () || - ub.is_a<SemanticGraph::Fundamental::String> ()) + ub.is_a<SemanticGraph::Fundamental::String> () || + ub.is_a<SemanticGraph::Fundamental::AnyURI> ()) { using SemanticGraph::Restricts; Restricts& r (dynamic_cast<Restricts&> (c.inherits ())); diff --git a/xsde/cxx/serializer/serializer-inline.cxx b/xsde/cxx/serializer/serializer-inline.cxx index e14680e..fe36e4a 100644 --- a/xsde/cxx/serializer/serializer-inline.cxx +++ b/xsde/cxx/serializer/serializer-inline.cxx @@ -441,7 +441,8 @@ namespace CXX ub.is_a<SemanticGraph::Fundamental::UnsignedByte> () || ub.is_a<SemanticGraph::Fundamental::UnsignedShort> () || ub.is_a<SemanticGraph::Fundamental::UnsignedInt> () || - ub.is_a<SemanticGraph::Fundamental::String> ()) + ub.is_a<SemanticGraph::Fundamental::String> () || + ub.is_a<SemanticGraph::Fundamental::AnyURI> ()) { using SemanticGraph::Restricts; Restricts& r (dynamic_cast<Restricts&> (c.inherits ())); |