Skip to content
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

Element tag's ref attribute does not get set #9

Open
stewartmatheson opened this issue Feb 25, 2014 · 2 comments
Open

Element tag's ref attribute does not get set #9

stewartmatheson opened this issue Feb 25, 2014 · 2 comments

Comments

@stewartmatheson
Copy link

When parsing an element such as

<xsd:element ref="Common" minOccurs="0"/>

the node.ref seems to return nil and not "Common" as I would expect it do.

@movitto
Copy link
Owner

movitto commented Feb 26, 2014

Hey @stewartmatheson thx for reaching out.

It's been a while since I hacked on RXSD so a bit rusty on the specifics, though I do remember the full XSD standard implementation wasn't 100% flushed out via the Ruby class hierarchicy. I did add a mechanism which to automatically pick up schema heirarchy and generate classes & objects using the Ruby metaprogramming mechanisms on the fly. Not sure which you are using here (some code would be helpful).

TBH prolly won't be able to devote too many cycles to maintain this project / package going forward but if you wanted to send any PR's I'd be happy to look at them

Take care!

@stewartmatheson
Copy link
Author

Hi Mo,

Understand. As it turns out Nokogiri is doing what I need. Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants