soulcutter / saxerator

A SAX-based XML parser for parsing large files into manageable chunks
MIT License
128 stars 19 forks source link

Add namespace support #5

Closed digitalheir closed 10 years ago

digitalheir commented 10 years ago

Also, 'config.symbolize_keys!' will generate a weird looking symbol, if the tag parsed has a namespace :"ns:tag"

soulcutter commented 10 years ago

Can you describe the namespace support you'd like to see?

soulcutter commented 10 years ago

Maybe an option to strip namespaces is what you're looking for? Trying to understand what you mean by 'add namespace support' here…

digitalheir commented 10 years ago

Hi, sorry for being so vague! I guess that's what I meant, namespace stripping, but that's a trivial operation right? Op 16 nov. 2013 23:18 schreef "Bradley Schaefer" notifications@github.com:

Maybe an option to strip namespaces is what you're looking for? Trying to understand what you mean by 'add namespace support' here…

— Reply to this email directly or view it on GitHubhttps://github.com/soulcutter/saxerator/issues/5#issuecomment-28637205 .

soulcutter commented 10 years ago

No problem - I think I can cook something up to handle this use case by the end of the week, hopefully.

soulcutter commented 10 years ago

I just pushed a new version 0.9.0 which adds a configuration option #strip_namespaces!.