> @@ -64,7 +64,10 @@ private void resetState() {
>
> @Override public void endElement(String ignoredUri, String ignoredName,
> String qName) {
> if (qName.equals("OS")) {
> - os = OSType.fromValue(currentOrNull(currentText));
> + String osText = currentOrNull(currentText);
> + if (osText != null) {
heh.. I found that that NULL was me being too literal :) Image os is actually
required per http://msdn.microsoft.com/en-us/library/jj157191.aspx
Good question, though!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/94/files#r19128448