Comments (7)
@techguy613 You might want to have a look at this.
from dnssecjava.
Any suggestions on how you'd like to handle this instead?
from dnssecjava.
I think I would simply inline all the strings into the source code. If I understand it right, these are all exception messages which should not be translated anyway. So what's the resource bundle indirection good for?
Another idea would be a static setter that could be used by Android apps to set the resource bundle in your R class manually. Because Android actually can read resource bundles, it just doesn't support reading them from the classpath like you do.
from dnssecjava.
Hm, these were meant to be an explanation why a validation failed.
The setter is a good alternative, and as a fallback, returning the key (formatted like in the unit tests: key:param1:...:paramN
)
from dnssecjava.
Ah, that fallback would be perfect. Even without the setter.
from dnssecjava.
Hey all, the setter sounds good to me. Should I take a crack at it or would you (@ibauersachs) like to make the change yourself?
from dnssecjava.
Some help would be very welcome :-)
from dnssecjava.
Related Issues (17)
- Release version 1.0 HOT 8
- mvn target to make a .jar library HOT 2
- Root key rollover support HOT 4
- java.naming.factory.initial ==> DnsSecContextFactory ? HOT 3
- Support of ECDSA key to DNSKEY ? HOT 2
- Leading zeroes in in (r|s)-parameters of ECDSA signature cause validation to fail HOT 14
- Additional NS records in Authority section can cause validation failure HOT 8
- nsec3 issue with sgkb.ch HOT 8
- Very old log4j version HOT 5
- Java 6/Java 7 compatible jar HOT 1
- Support more algorithms HOT 5
- Support for dnsjava 3 HOT 1
- TrustAnchorStore lookup method is case sensitive HOT 1
- Release dnssecjava 1.1 with slf4j changes HOT 2
- PatternSyntaxException: Look-behind pattern matches must have a bounded maximum length HOT 6
- Throw an error (or indicate it) on timeout instead of logging HOT 1
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 dnssecjava.