Comments (1)
@adamretter Hi there! Yes, Woodstox does actually cache DTDs already. I forget class names, but it should be relatively obvious; but if you can't find it let me know and I'll dig it up.
Other schemas are not auto-resolved at this point, so there is no caching (as there's nothing to really use it; caller has to provide XML Schema / RelaxNG validator). By auto-resolution I just mean that XML Schema mechanism would be detected from the document (I think there was an optional mechanism for doing that, although somewhat frowned upon as there's the view that there isn't really "one schema", but potentially multiple views, for any given document).
Anyway, long story short: for DTDs, caching should exist and work. If not, that could be a bug.
Having said that, improvements are always welcome, esp. if they could use existing standard API for plugging things in (may or may not be possible). Or otherwise improve things.
from woodstox.
Related Issues (20)
- Illegal character entity using XMLStreamReader on value encoded by external service HOT 4
- XMLEvent.asCharacters() throws a cast error on Kotlin HOT 2
- README links https://www.studytrails.com are problematic HOT 2
- support setting ReaderConfig on WstxInputFactory HOT 2
- Scan Tool reporting Improper Restriction of XML External Entity Reference CWE ID 611 vulnerability flaw (XXE Attack) HOT 3
- After update to 6.5.0, in osgi/felix runtime the bundle is not started due to missing dependency HOT 4
- failed to parse xml: Unrecognized property `'com.ctc.wstx.maxEntityCount'` in `woodstox:6.5` HOT 2
- Vulnerability CVE-2023-34411 HOT 3
- W3CMultiSchemaFactory class needs extended to allow for custom resolving of XSD's locations HOT 2
- Woodstox should provide option to leave predefined entities i.e. "<", ">", "'", """ and "&" as it is HOT 2
- Not able to write xml to azure blob storage HOT 1
- WstxValidationException: Unknown reason (at end element </nl:nillableIntElement>) when validating a document with nillable elements HOT 14
- Update `msv-core` dependency to `2022.7`
- Notations declared in external DTD subsets are reported as undefined HOT 6
- 'Undefined ID' not thrown when validating with SimpleNsStreamWriter HOT 1
- 'Element <root> has no attribute "verbose"' not thrown from RepairingNsStreamWriter when validating against a DTD schema HOT 1
- Module `com.ctc.wstx` does not read a module that exports `com.ctc.wstx.shaded.msv.org_isorelax.verifier` HOT 6
- Remove `QNameCreator` compatibility class
- WstxSAXParser error handling when used with JAXB validation HOT 7
- Version 6.6.0 contains a module error (dup of #193 ?) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodstox.