Closed ovatsus closed 11 years ago
@tpetricek can you create an FSharp.Data tag on stack overflow so we can tag that post (and a few others)? I don't have enough points to create a tag
I tagged this one, but I'm not sure what other questions would be good candidates, so if you know any, you should now be able to add the tag ("f#-data"). Thanks!
I've tagged a couple more
Great! I also added a link to the F# Data README.md
.
This fails because
XmlRuntime.GetChild
->XmlRuntime.GetChildrenArray
->value.XElement.Elements(XName.Get(name))
returns an empty sequence. The problem is that the title element belongs to thehttp://www.w3.org/2005/Atom
namespace and but we are not passing that namespace to XName.Get. We should look at the toplevel namespace of the xml and pass that along when accessing elements.Also,
XmlRuntime.GetChild
should give a more descriptive error message stating if it found more than one, or zero elementsThis was reported on StackOverflow: http://stackoverflow.com/questions/15753005/f-typeprovider-xmlprovider-gives-system-exception