-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespaced schemas don't generate any output #2
Comments
sorry I think github messed up the line of xsd you wanted to type? |
Hi, I've accoutered exactly same issue and made quick fix for this issue. |
Hi, I just pushed version 1.5 with swift support and it should incorporate a fix inspired by your workaround. - could you please check this again? |
Hi I test it and it works perfectly, thanks. Wen I've tried fix it myself, I had problems to pass tests. |
on 10.10 all tests are green and all demo apps work :/ cheers
|
ok I fixed the unit tests for 10.11. the problem was that I used the /usr/include dir directly and on 10.11 this isn't there by default. They should be all green now. (they are here ;) |
@Adam-Ho plz verify |
im on 10.11 and it works ;) |
An XSD with a header like this:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="GSP">
xs:complexType
...
Would generate empty output.
Reason: XSDSchema.m, ln 78 wouldn't pick up any complex types because of the incorrect XPath selector:
NSArray* ctNodes = [node nodesForXPath: @"/schema/complexType" error: error];
Adding full XSD sample here: http://pastebin.com/jkdAPuC9
The text was updated successfully, but these errors were encountered: