@@ -90,21 +90,22 @@ Input source can be a java.io.InputStream or java.io.Reader
9090
9191Options:
9292
93- :include-node? can be a subset of #{:element :characters :comment} default #{:element :characters}
94- :location-info pass false to skip generating location meta data
95-
96- See http://docs.oracle.com/javase/6/docs/api/javax/xml/stream/XMLInputFactory.html
97- for documentation on options:
98-
99- {:allocator XMLInputFactory/ALLOCATOR
100- :coalescing XMLInputFactory/IS_COALESCING
101- :namespace-aware XMLInputFactory/IS_NAMESPACE_AWARE
102- :replacing-entity-references XMLInputFactory/IS_REPLACING_ENTITY_REFERENCES
103- :supporting-external-entities XMLInputFactory/IS_SUPPORTING_EXTERNAL_ENTITIES
104- :validating XMLInputFactory/IS_VALIDATING
105- :reporter XMLInputFactory/REPORTER
106- :resolver XMLInputFactory/RESOLVER
107- :support-dtd XMLInputFactory/SUPPORT_DTD}"
93+ :include-node? subset of #{:element :characters :comment}, default #{:element :characters}
94+ :location-info pass false to skip generating location meta data, default true
95+
96+ See https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLInputFactory.html
97+ for documentation on xml options. These are the defaults:
98+
99+ {:allocator nil ; XMLInputFactory/ALLOCATOR
100+ :coalescing true ; XMLInputFactory/IS_COALESCING
101+ :namespace-aware true ; XMLInputFactory/IS_NAMESPACE_AWARE
102+ :replacing-entity-references true ; XMLInputFactory/IS_REPLACING_ENTITY_REFERENCES
103+ :supporting-external-entities false ; XMLInputFactory/IS_SUPPORTING_EXTERNAL_ENTITIES
104+ :validating false ; XMLInputFactory/IS_VALIDATING
105+ :reporter nil ; XMLInputFactory/REPORTER
106+ :resolver nil ; XMLInputFactory/RESOLVER
107+ :support-dtd true ; XMLInputFactory/SUPPORT_DTD
108+ }"
108109 {:arglists (list ['source '& parser-opts-arg])}
109110 [source & {:as opts}]
110111 (event-tree (event-seq source opts)))
@@ -114,21 +115,22 @@ for documentation on options:
114115
115116Options:
116117
117- :include-node? can be a subset of #{:element :characters :comment} default #{:element :characters}
118- :location-info pass false to skip generating location meta data
119-
120- See http://docs.oracle.com/javase/6/docs/api/javax/xml/stream/XMLInputFactory.html
121- for documentation on options:
122-
123- {:allocator XMLInputFactory/ALLOCATOR
124- :coalescing XMLInputFactory/IS_COALESCING
125- :namespace-aware XMLInputFactory/IS_NAMESPACE_AWARE
126- :replacing-entity-references XMLInputFactory/IS_REPLACING_ENTITY_REFERENCES
127- :supporting-external-entities XMLInputFactory/IS_SUPPORTING_EXTERNAL_ENTITIES
128- :validating XMLInputFactory/IS_VALIDATING
129- :reporter XMLInputFactory/REPORTER
130- :resolver XMLInputFactory/RESOLVER
131- :support-dtd XMLInputFactory/SUPPORT_DTD}"
118+ :include-node? subset of #{:element :characters :comment}, default #{:element :characters}
119+ :location-info pass false to skip generating location meta data, default true
120+
121+ See https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLInputFactory.html
122+ for documentation on xml options. These are the defaults:
123+
124+ {:allocator nil ; XMLInputFactory/ALLOCATOR
125+ :coalescing true ; XMLInputFactory/IS_COALESCING
126+ :namespace-aware true ; XMLInputFactory/IS_NAMESPACE_AWARE
127+ :replacing-entity-references true ; XMLInputFactory/IS_REPLACING_ENTITY_REFERENCES
128+ :supporting-external-entities false ; XMLInputFactory/IS_SUPPORTING_EXTERNAL_ENTITIES
129+ :validating false ; XMLInputFactory/IS_VALIDATING
130+ :reporter nil ; XMLInputFactory/REPORTER
131+ :resolver nil ; XMLInputFactory/RESOLVER
132+ :support-dtd true ; XMLInputFactory/SUPPORT_DTD
133+ }"
132134 {:arglists (list ['string '& parser-opts-arg])}
133135 [s & opts]
134136 (apply parse (string-source s) opts))
0 commit comments