require "rexml/document" require "rexml/streamlistener" /\A(\d+)\.(\d+)(?:\.\d+)+\z/ =~ REXML::Version if ([$1.to_i, $2.to_i] <=> [2, 5]) < 0 raise LoadError, "needs REXML 2.5 or later (#{REXML::Version})" end module RSS class REXMLParser < BaseParser private def listener REXMLListener end def _parse begin REXML::Document.parse_stream(@rss, @listener) rescue RuntimeError => e raise NotWellFormedError.new{e.message} rescue REXML::ParseException => e context = e.context line = context[0] if context raise NotWellFormedError.new(line){e.message} end end end class REXMLListener < BaseListener include REXML::StreamListener include ListenerMixin def xmldecl(version, encoding, standalone) super(version, encoding, standalone == "yes") # Encoding is converted to UTF-8 when REXML parse XML. @encoding = 'UTF-8' end alias_method(:cdata, :text) end end e6d326b7103fa59ef4fdb3a270f7'/> Experimental work on SSSD - Systen Security Services DaemonSimo Sorce
summaryrefslogtreecommitdiffstats
path: root/.gitignore
blob: de6c573d1949156bfe4b2143f22416c41b092ad7 (plain)
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
*.[oa]
configure
config.log
config.status
config.rpath
config.h
config.h.in
cscope.out
doxy.config
Makefile
Makefile.in
Makefile.in.in
*.so
*.so.[0-9].[0-9].[0-9]
*.a
*.l[oa]
*.py[oc]
*.pydevproject
*.project
*.cproject
*.settings
.deps
.libs
*.html
*.[0-9]
*.pc
autom4te.cache
libtool
stamp-h1
m4/
aclocal.m4
depcomp
ltmain.sh
missing
.dirstamp
sssd.spec
*.gmo
*.header
*.sed
*.sin
Makevars.template
POTFILES
Rules-quot
stamp-po
ABOUT-NLS
build
*.patch
*.swp
*.X
tags
sss_groupadd
sss_groupdel
sss_groupmod
sss_useradd
sss_userdel
sss_usermod
sss_groupshow
sss_debuglevel
sssd
sssd_be
sssd_dp
sssd_nss
sssd_pam
krb5_child
ldap_child
sss_cache
*~
crypto-tests
debug-tests
fail_over-tests
files-tests
find_uid-tests
ipa_hbac-tests
ipa_ldap_opt-tests
krb5-utils-tests
pam_test_client
proxy_child
refcount-tests
resolv-tests
simple_access-tests
stress-tests
strtonum-tests
sysdb-tests
util-tests
auth-tests
check_and_open-tests
sssd_sudo
sss_sudo_cli
autofs_test_client
sssd_autofs