-
Notifications
You must be signed in to change notification settings - Fork 52
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
How do you retrieve a record from a repository? #14
Comments
Following up on this, I advanced a bit, changing the @before (essentially adding the withMetadataTransformer to the context:
The exception is now the one below - basically the MetadataParser breaks at "reader.next(elementName(localPart(equalTo("metadata"))));" since it cannot find an element called metadata.
It seems the code is trying to find the metadata element twice, because in the RecordParser.parse that preceeds this code the contents of the metadata tag are already being populated in a content String:
|
I am playing around with the framework and trying to retrieve a record (see test case below), but it is failing with something to do with the Transformers:
What is missing in the example? This is definitely that would be tackled in #13 .
Note that I've also tried without the context.withTransformer(t). withTransformer the code will reach the exception cycle with two transformers in the list, the one supplied and a null.
The text was updated successfully, but these errors were encountered: