File: classxmlpp_1_1RelaxNGValidator.html

package info (click to toggle)
libxml%2B%2B2.6 2.40.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 8,056 kB
  • sloc: sh: 11,363; cpp: 7,695; xml: 996; perl: 289; makefile: 221
file content (699 lines) | stat: -rw-r--r-- 47,089 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>libxml++: xmlpp::RelaxNGValidator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libxml++
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html">RelaxNGValidator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classxmlpp_1_1RelaxNGValidator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::RelaxNGValidator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>RelaxNG schema validator.  
 <a href="classxmlpp_1_1RelaxNGValidator.html#details">More...</a></p>

<p><code>#include &lt;libxml++/validators/relaxngvalidator.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::RelaxNGValidator:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1RelaxNGValidator__inherit__graph.png" border="0" usemap="#xmlpp_1_1RelaxNGValidator_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1RelaxNGValidator_inherit__map" id="xmlpp_1_1RelaxNGValidator_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1SchemaValidatorBase.html" title="Base class for schema validators. " alt="" coords="5,155,216,181"/><area shape="rect" id="node3" href="classxmlpp_1_1Validator.html" title="Base class for XML validators. " alt="" coords="48,80,173,107"/><area shape="rect" id="node4" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="33,5,188,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2528a6b86fefb7ee857366e4f904dc24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a2528a6b86fefb7ee857366e4f904dc24">RelaxNGValidator</a> ()</td></tr>
<tr class="separator:a2528a6b86fefb7ee857366e4f904dc24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf4743ea53f677405d1431b02ab073fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#abf4743ea53f677405d1431b02ab073fb">RelaxNGValidator</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
<tr class="memdesc:abf4743ea53f677405d1431b02ab073fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a validator and parse a schema definition file.  <a href="#abf4743ea53f677405d1431b02ab073fb">More...</a><br /></td></tr>
<tr class="separator:abf4743ea53f677405d1431b02ab073fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a390adf7ea5f61c13a35608e595d891e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a390adf7ea5f61c13a35608e595d891e7">RelaxNGValidator</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)</td></tr>
<tr class="memdesc:a390adf7ea5f61c13a35608e595d891e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a validator and parse a schema definition document.  <a href="#a390adf7ea5f61c13a35608e595d891e7">More...</a><br /></td></tr>
<tr class="separator:a390adf7ea5f61c13a35608e595d891e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec73525b59cfc71a72ec595697439f94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#aec73525b59cfc71a72ec595697439f94">RelaxNGValidator</a> (<a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>* schema, bool take_ownership)</td></tr>
<tr class="memdesc:aec73525b59cfc71a72ec595697439f94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a validator.  <a href="#aec73525b59cfc71a72ec595697439f94">More...</a><br /></td></tr>
<tr class="separator:aec73525b59cfc71a72ec595697439f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcad53ea2495a53a652375238639c276"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#afcad53ea2495a53a652375238639c276">~RelaxNGValidator</a> () override</td></tr>
<tr class="separator:afcad53ea2495a53a652375238639c276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a387087292eb290edca76eb15ef70b8f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a387087292eb290edca76eb15ef70b8f1">get_schema</a> ()</td></tr>
<tr class="memdesc:a387087292eb290edca76eb15ef70b8f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the schema.  <a href="#a387087292eb290edca76eb15ef70b8f1">More...</a><br /></td></tr>
<tr class="separator:a387087292eb290edca76eb15ef70b8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afecd4b9401a423e7db8c1dc4d28804ee"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#afecd4b9401a423e7db8c1dc4d28804ee">get_schema</a> () const </td></tr>
<tr class="memdesc:afecd4b9401a423e7db8c1dc4d28804ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the schema.  <a href="#afecd4b9401a423e7db8c1dc4d28804ee">More...</a><br /></td></tr>
<tr class="separator:afecd4b9401a423e7db8c1dc4d28804ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54b3bd61730a697202d19a3ae21f3934"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a54b3bd61730a697202d19a3ae21f3934">operator BoolExpr</a> () const </td></tr>
<tr class="memdesc:a54b3bd61730a697202d19a3ae21f3934"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether a schema has been parsed.  <a href="#a54b3bd61730a697202d19a3ae21f3934">More...</a><br /></td></tr>
<tr class="separator:a54b3bd61730a697202d19a3ae21f3934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c4924eeabdd1d5f1074f4d804eff77c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a6c4924eeabdd1d5f1074f4d804eff77c">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)</td></tr>
<tr class="memdesc:a6c4924eeabdd1d5f1074f4d804eff77c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a document.  <a href="#a6c4924eeabdd1d5f1074f4d804eff77c">More...</a><br /></td></tr>
<tr class="separator:a6c4924eeabdd1d5f1074f4d804eff77c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d873ff848baee8814c60af492d9e1c1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a4d873ff848baee8814c60af492d9e1c1">parse_file</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
<tr class="memdesc:a4d873ff848baee8814c60af492d9e1c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition file.  <a href="#a4d873ff848baee8814c60af492d9e1c1">More...</a><br /></td></tr>
<tr class="separator:a4d873ff848baee8814c60af492d9e1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88790171ea1e7920bc9daf8ad6cf65a9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a88790171ea1e7920bc9daf8ad6cf65a9">parse_memory</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; contents)</td></tr>
<tr class="memdesc:a88790171ea1e7920bc9daf8ad6cf65a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a string.  <a href="#a88790171ea1e7920bc9daf8ad6cf65a9">More...</a><br /></td></tr>
<tr class="separator:a88790171ea1e7920bc9daf8ad6cf65a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a986795b7f4bbe5afe36d96b4ff8eaabe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a986795b7f4bbe5afe36d96b4ff8eaabe">set_schema</a> (<a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>* schema, bool take_ownership)</td></tr>
<tr class="memdesc:a986795b7f4bbe5afe36d96b4ff8eaabe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a schema.  <a href="#a986795b7f4bbe5afe36d96b4ff8eaabe">More...</a><br /></td></tr>
<tr class="separator:a986795b7f4bbe5afe36d96b4ff8eaabe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f6d6b7a1397935c177a4137b395982f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a3f6d6b7a1397935c177a4137b395982f">validate</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)</td></tr>
<tr class="memdesc:a3f6d6b7a1397935c177a4137b395982f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate a document, using a previously parsed schema.  <a href="#a3f6d6b7a1397935c177a4137b395982f">More...</a><br /></td></tr>
<tr class="separator:a3f6d6b7a1397935c177a4137b395982f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3474091f868ffa009d794e4b720d1d32"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a3474091f868ffa009d794e4b720d1d32">validate</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
<tr class="memdesc:a3474091f868ffa009d794e4b720d1d32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate an XML file, using a previously parsed schema.  <a href="#a3474091f868ffa009d794e4b720d1d32">More...</a><br /></td></tr>
<tr class="separator:a3474091f868ffa009d794e4b720d1d32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1SchemaValidatorBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1SchemaValidatorBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html">xmlpp::SchemaValidatorBase</a></td></tr>
<tr class="memitem:a1c2adfb1aa78dd89a48263a60d4738dc inherit pub_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a1c2adfb1aa78dd89a48263a60d4738dc">SchemaValidatorBase</a> ()</td></tr>
<tr class="separator:a1c2adfb1aa78dd89a48263a60d4738dc inherit pub_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12420d3e5f5f42344d25a1215d300cdf inherit pub_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a12420d3e5f5f42344d25a1215d300cdf">~SchemaValidatorBase</a> () override</td></tr>
<tr class="separator:a12420d3e5f5f42344d25a1215d300cdf inherit pub_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a2e25d9106542fac59c7a4368257cdcb5 inherit pub_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a2e25d9106542fac59c7a4368257cdcb5">Validator</a> ()</td></tr>
<tr class="separator:a2e25d9106542fac59c7a4368257cdcb5 inherit pub_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a436707ae4c543734a55d7dde76679406 inherit pub_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a436707ae4c543734a55d7dde76679406">~Validator</a> () override</td></tr>
<tr class="separator:a436707ae4c543734a55d7dde76679406 inherit pub_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a89e380a43658012120255f1bb16b7571"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a89e380a43658012120255f1bb16b7571">initialize_valid</a> () override</td></tr>
<tr class="separator:a89e380a43658012120255f1bb16b7571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07e83fc2d5e69ec0e0b4b6833e2c802e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGValidator.html#a07e83fc2d5e69ec0e0b4b6833e2c802e">release_underlying</a> () override</td></tr>
<tr class="separator:a07e83fc2d5e69ec0e0b4b6833e2c802e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1SchemaValidatorBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1SchemaValidatorBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html">xmlpp::SchemaValidatorBase</a></td></tr>
<tr class="memitem:a9ef33467f0a566ebf917da7878b89f0d inherit pro_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9ef33467f0a566ebf917da7878b89f0d">initialize_valid</a> () override</td></tr>
<tr class="separator:a9ef33467f0a566ebf917da7878b89f0d inherit pro_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3940b83397561cc5b57bd733fc8601f7 inherit pro_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a3940b83397561cc5b57bd733fc8601f7">release_underlying</a> () override</td></tr>
<tr class="separator:a3940b83397561cc5b57bd733fc8601f7 inherit pro_methods_classxmlpp_1_1SchemaValidatorBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a2af695894f22e61b4f85551edefd104d inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a2af695894f22e61b4f85551edefd104d">check_for_exception</a> ()</td></tr>
<tr class="separator:a2af695894f22e61b4f85551edefd104d inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a655f06aa683577c26dcb2edba2e9e84b inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a655f06aa683577c26dcb2edba2e9e84b">check_for_validity_messages</a> ()</td></tr>
<tr class="separator:a655f06aa683577c26dcb2edba2e9e84b inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d02cc2d687f0bd28e3c777ebbc7c458 inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a4d02cc2d687f0bd28e3c777ebbc7c458">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a>&amp; e)</td></tr>
<tr class="separator:a4d02cc2d687f0bd28e3c777ebbc7c458 inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59b45514fe397db1dbb025a1a3b103f inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#af59b45514fe397db1dbb025a1a3b103f">on_validity_error</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:af59b45514fe397db1dbb025a1a3b103f inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ef36a34b258165082c4f33737e743d2 inherit pro_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a7ef36a34b258165082c4f33737e743d2">on_validity_warning</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:a7ef36a34b258165082c4f33737e743d2 inherit pro_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classxmlpp_1_1SchemaValidatorBase"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classxmlpp_1_1SchemaValidatorBase')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html">xmlpp::SchemaValidatorBase</a></td></tr>
<tr class="memitem:a9bbf27ae7711e2615ad41be99d002800 inherit pub_types_classxmlpp_1_1SchemaValidatorBase"><td class="memItemLeft" align="right" valign="top">typedef const void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9bbf27ae7711e2615ad41be99d002800">BoolExpr</a></td></tr>
<tr class="memdesc:a9bbf27ae7711e2615ad41be99d002800 inherit pub_types_classxmlpp_1_1SchemaValidatorBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef is just to make it more obvious that our operator const void* should be used like operator bool().  <a href="#a9bbf27ae7711e2615ad41be99d002800">More...</a><br /></td></tr>
<tr class="separator:a9bbf27ae7711e2615ad41be99d002800 inherit pub_types_classxmlpp_1_1SchemaValidatorBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a616cad28f3d4f59b76edb916bffeb6ef inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a616cad28f3d4f59b76edb916bffeb6ef">callback_validity_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a616cad28f3d4f59b76edb916bffeb6ef inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f8938e79ca2c52ec26e499b356985a0 inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a5f8938e79ca2c52ec26e499b356985a0">callback_validity_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a5f8938e79ca2c52ec26e499b356985a0 inherit pro_static_methods_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classxmlpp_1_1Validator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classxmlpp_1_1Validator')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classxmlpp_1_1Validator.html">xmlpp::Validator</a></td></tr>
<tr class="memitem:a55796f9903e66aa4730313936fab1f0b inherit pro_attribs_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1exception.html">exception</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a55796f9903e66aa4730313936fab1f0b">exception_</a></td></tr>
<tr class="separator:a55796f9903e66aa4730313936fab1f0b inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c6ef225bbdf9053a7e83587262f30e9 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top">_xmlValidCtxt*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#a1c6ef225bbdf9053a7e83587262f30e9">valid_</a></td></tr>
<tr class="separator:a1c6ef225bbdf9053a7e83587262f30e9 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac28c8c06c9c3cbbebfa0d1c90d20cdf5 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#ac28c8c06c9c3cbbebfa0d1c90d20cdf5">validate_error_</a></td></tr>
<tr class="separator:ac28c8c06c9c3cbbebfa0d1c90d20cdf5 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa876f0e05457de97a3c2d598e4af2580 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Validator.html#aa876f0e05457de97a3c2d598e4af2580">validate_warning_</a></td></tr>
<tr class="separator:aa876f0e05457de97a3c2d598e4af2580 inherit pro_attribs_classxmlpp_1_1Validator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>RelaxNG schema validator. </p>
<p>RelaxNG = REgular LAnguage for XML Next Generation</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000012">Since libxml++ 2.38:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2528a6b86fefb7ee857366e4f904dc24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGValidator::RelaxNGValidator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abf4743ea53f677405d1431b02ab073fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGValidator::RelaxNGValidator </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a validator and parse a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a390adf7ea5f61c13a35608e595d891e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGValidator::RelaxNGValidator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a validator and parse a schema definition document. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aec73525b59cfc71a72ec595697439f94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGValidator::RelaxNGValidator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>*&#160;</td>
          <td class="paramname"><em>schema</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_ownership</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a validator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">schema</td><td>A pointer to the schema to use when validating XML documents. </td></tr>
    <tr><td class="paramname">take_ownership</td><td>If <code>true</code>, the validator takes ownership of the schema. The caller must not delete it.<br />
 If <code>false</code>, the validator does not take ownership of the schema. The caller must guarantee that the schema exists as long as the validator keeps a pointer to it. The caller is responsible for deleting the schema when it's no longer needed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afcad53ea2495a53a652375238639c276"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGValidator::~RelaxNGValidator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a387087292eb290edca76eb15ef70b8f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>* xmlpp::RelaxNGValidator::get_schema </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the schema. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the schema, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="afecd4b9401a423e7db8c1dc4d28804ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>* xmlpp::RelaxNGValidator::get_schema </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the schema. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the schema, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a89e380a43658012120255f1bb16b7571"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGValidator::initialize_valid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classxmlpp_1_1Validator.html#a12ee744e385987547d1c449a1e4bf596">xmlpp::Validator</a>.</p>

</div>
</div>
<a class="anchor" id="a54b3bd61730a697202d19a3ae21f3934"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual xmlpp::RelaxNGValidator::operator <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a9bbf27ae7711e2615ad41be99d002800">BoolExpr</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test whether a schema has been parsed. </p>
<p>For instance </p><div class="fragment"><div class="line"><span class="keywordflow">if</span> (relaxng_validator)</div>
<div class="line">  do_something();</div>
</div><!-- fragment --> 
<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a4caba0b7dfc1d507bc87ad05e8400197">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
<a class="anchor" id="a6c4924eeabdd1d5f1074f4d804eff77c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::RelaxNGValidator::parse_document </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a document. </p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#aeb060a5d673e874faba60cccaae501e3">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
<a class="anchor" id="a4d873ff848baee8814c60af492d9e1c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::RelaxNGValidator::parse_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported.</p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#ad662fcf53f3da2a4d9ced7d96343a8e3">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
<a class="anchor" id="a88790171ea1e7920bc9daf8ad6cf65a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::RelaxNGValidator::parse_memory </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>contents</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a string. </p>
<p>The schema must be defined with XML syntax. The compact syntax is not supported.</p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The schema definition as a string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a6f86ddf3b03c966a01defbeddc317837">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
<a class="anchor" id="a07e83fc2d5e69ec0e0b4b6833e2c802e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGValidator::release_underlying </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classxmlpp_1_1Validator.html#a317466ca90b8e53d6f57e49fd032d8cb">xmlpp::Validator</a>.</p>

</div>
</div>
<a class="anchor" id="a986795b7f4bbe5afe36d96b4ff8eaabe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGValidator::set_schema </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a>*&#160;</td>
          <td class="paramname"><em>schema</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_ownership</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a schema. </p>
<p>If the validator already contains a schema, that schema is released (deleted if the validator owns the schema). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">schema</td><td>A pointer to the schema to use when validating XML documents. </td></tr>
    <tr><td class="paramname">take_ownership</td><td>If <code>true</code>, the validator takes ownership of the schema. The caller must not delete it.<br />
 If <code>false</code>, the validator does not take ownership of the schema. The caller must guarantee that the schema exists as long as the validator keeps a pointer to it. The caller is responsible for deleting the schema when it's no longer needed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f6d6b7a1397935c177a4137b395982f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::RelaxNGValidator::validate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate a document, using a previously parsed schema. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>Pointer to the document. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#a06d84926fa95a7f021c524651cf60968">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
<a class="anchor" id="a3474091f868ffa009d794e4b720d1d32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::RelaxNGValidator::validate </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate an XML file, using a previously parsed schema. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the XML file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaValidatorBase.html#ad4ccbaaac852cf9b55fb74e89f66fa33">xmlpp::SchemaValidatorBase</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 28 2015 14:41:04 for libxml++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>