diff options
Diffstat (limited to '')
-rw-r--r-- | src/unit/xml.unit | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/unit/xml.unit b/src/unit/xml.unit new file mode 100644 index 0000000..738ad66 --- /dev/null +++ b/src/unit/xml.unit | |||
@@ -0,0 +1,20 @@ | |||
1 | // vim: syntax=cpp | ||
2 | /* | ||
3 | * Copyright (C) 2007-2008 Xagasoft, All rights reserved. | ||
4 | * | ||
5 | * This file is part of the libbu++ library and is released under the | ||
6 | * terms of the license contained in the file LICENSE. | ||
7 | */ | ||
8 | |||
9 | #include "bu/fstring.h" | ||
10 | #include "bu/xmlreader.h" | ||
11 | #include "bu/membuf.h" | ||
12 | |||
13 | {=Init} | ||
14 | |||
15 | {%declaration} | ||
16 | { | ||
17 | Bu::FString sXml("<?xml ?> <hi />"); | ||
18 | Bu::MemBuf buf( sXml ); | ||
19 | Bu::XmlReader xr( buf ); | ||
20 | } | ||