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

string doesnt work #2

Closed
Djidane41771 opened this issue Feb 11, 2011 · 4 comments
Closed

string doesnt work #2

Djidane41771 opened this issue Feb 11, 2011 · 4 comments

Comments

@Djidane41771
Copy link

hi,

"string" tag parsing is currently not working.

some functions are missing: like getDate()

and it will be wonderfull if you allow parsing an inputstream instead of string XML

regards

@tenaciousRas
Copy link
Owner

Should be fixed now. Also added a method for parsing InputStreams. On master and tagged as v0.92

@tenaciousRas
Copy link
Owner

BTW - Date, String, Integer, etc. all implement the IPListSimpleObject interface. That means you always use getValue() to get the actual Date value. If the PList-date is in an array or dict - you will call get(int) or getConfigObject(...) to get at it. Since those methods return PListObjects, you'll need to cast the results to the simple object you're trying to get the value for. Take a look at the parser's unit test for more help.

@tenaciousRas
Copy link
Owner

fixed in v0.92

@Djidane41771
Copy link
Author

hi, thanks a lot

This issue was closed.
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