Comments (5)
Hello,
You are very welcome, it is nice to know that this project seems to be helping people other than me :)
Your suggestion seems pretty straightforward and at first glance it doesn't bring any problems so I should be able to perform a new release this weekend.
Regarding your second point, there aren't really plans to solve that issue in the near future. Although it is a necessary feature since most approaches use multiple schemas it would possibly require a reasonable amount of changes in the project and at the moment I don't have the time needed to do that.
Thanks for the issue and input.
Best Regards,
Luís
from xsdparser.
I was messing with the getSchemaNode
method and Inoticed that it can take a InputSource as parameter DocumentBuilderFactory.newInstance().newDocumentBuilder().parse
accepts a InputSource, which can be created with a InputStream.
I haven't tested it yet, but I think that it would solve my second point, It is possible to create a InputStream from a String
from xsdparser.
Hello,
I've performed a new release, 1.0.17, which allows to pass new configurations in the XsdParser constructor. This should fix your points 1 and 3.
In regards to the InputStream, I can't recall precisely but I think I ended up not using it because I was getting some kind of problem by using it.
Regarding your second point, can you explain it further?
from xsdparser.
Thank you for the speedy release.
My second point is the following:
When parsing a WSDL, I need to strip all the "types" tag content to a different file, that's because XsdParser only accepts a filePath, which works but is kinda undesirable.
The "ideal" way for me would it be able to accept a InputStream
, because we could "skip" the types on our main parser, and delegate it to XsdParser
on only one read.
Maybe an API that accepts a Node
would also work. We use JSoup for commodity, but everything is encapsuled, so switching to org.w3c
package would not be hard too.
Edit: Also, I tested the new release just now, it works perfectly. Thank you very much
from xsdparser.
@LouizFC I noticed that you are not a XsdParser stargazer yet. Could you please give a star to increase popularity. Thanks
from xsdparser.
Related Issues (20)
- Unable to get access from maven for version 1.2.2 HOT 1
- XML Schema causes XsdParser to exit with NullPointerException when calling isRelativePath() HOT 6
- I can't get the base ComplexType of a Restriction inside a complexContent HOT 2
- Resolution of imports via XML Catalog HOT 1
- compatibility break in xsdRestriction version 1.2.4 HOT 3
- Inconsistent Readme.md HOT 1
- Not supported: http://javax.xml.XMLConstants/property/accessExternalDTD HOT 1
- Attributes in simpleContext HOT 2
- Null Pointer Exception Parsing OCX Schema HOT 1
- Multiple Pattern are not supported HOT 3
- Order of `xsd:element` and `xsd:group` not respected HOT 5
- feature request: union with memberTypes are resolved HOT 3
- Modification not backward compatible in XsdRestriction (xsdParser 1.2.5+) HOT 4
- References are not resolved from transitive dependencies (of more than one level) HOT 3
- Unsolved References are not correct HOT 3
- There are unsolved References in schema HOT 2
- java.lang.ClassCastException on XsdAttribute:198 - xsd parser version 1.2.9 HOT 4
- Parsing an XSD with no or a different prefix than xs or xsd fails with a ParsingException HOT 5
- Attributes are ignored HOT 1
- [1.2.12] XsdSimpleType : NullPointerException on XsdParserCore.getXsdTypeToJava(unionMemberRestriction.getBase()) HOT 2
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 xsdparser.