Comments (5)
Yes it is, I'll update it in a few days. I'll let you know when I do.
from xsdparser.
I released a new version, 1.0.11 (https://github.com/xmlet/XsdParser/tree/xsdParser-1.0.11), that fixes the problems related with attribute types.
In the case presented above the value
attribute from xsd:maxInclusive
and xsd:minInclusive
should be a Double
, which solves the problem. The remainder attributes from all XSD elements were all updated to respect the rules defined in the XSD syntax.
from xsdparser.
Hi again! I've tried to use version 1.0.11 but in the junit above elements List is always empty
from xsdparser.
Keep in mind that the method getParseResult
only returns XsdElement
objects, which correspond to xsd:element
elements.
If you want to iterate on all the elements parsed by the XsdParser
you should use the getResultSchemas
which returns the XsdSchema
objects which are the root of the XSD files and from there you can navigate to the XsdSchema
children by invoking the getXsdElements
method.
from xsdparser.
Thanks! I think you could close this issue, well done!
from xsdparser.
Related Issues (20)
- 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
- Using xs:include with relative paths leads to unresolved references HOT 2
- Inf. lookup with unqualified union memberTypes and circular includes 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 xsdparser.