i have this xpath defined for moxy in a jaxb class
@XmlPath("child::*/REG") public List entries;
but it won't unmarshal the xml document correctly. the List variable called entries is empty.
i've also tried
@XmlPath("*/REG") public List entries;
i've also tried
@XmlPath("//REG") public List entries;
without joy
but if i do
@XmlPath("BANKGIRO/REG") public List entries;
it's fine and the list is populated.
I haven't looked through the source yet but I'm guessing this type of xpath is not supported yet. I checked all my xpath in an xpath verifier for sanity and all the xpath above is fine (all the xpath is valid for the context node i'm positioned at).