I have a resource that for GET returns a large XML.
I've notice that when ever client doesn't read the entire response, Marshaller
in JaxbRepresentation holds on to passed in objects and they don't get garbage
collected.
Is there way to prevent this
Memory leak in JaxbRepresentation if client d
hi
> Hi Jim,
>
> good!
>
> Best regards,
> Thierry Boileau
>
>
> > Never mind, the problem is with the default XML parser in Java, not
> > Restlet. I thought I had seen different behavior when using the Validator
> > with a document that was not obtained from a DomRepresentation, but I was
hi
> I'm trying to validate a posted DomRepresentation and respond with an error
> document that indicates which elements failed to validate. I have an
> ErrorHandler set to capture the individual SAXExceptions, like so:
>
> Validator validator = messageSchema.newValidator();
> validator.setErr
Jsonlib is good tool for parsing the json data, but there are no support in the
restlet. i suggest the jsonRepresentation update to use the jsonlib to parsing
data
2009-11-13
guozhen07
--
http://restlet.tigris.org/ds/viewMessage.do?dsForum
Hi Jim,
good!
Best regards,
Thierry Boileau
> Never mind, the problem is with the default XML parser in Java, not Restlet.
> I thought I had seen different behavior when using the Validator with a
> document that was not obtained from a DomRepresentation, but I was mistaken.
>
> -
Hi, we want to use the Restlet framework in our project, but need support for
Servlet API 2.3 (SAP Web App Server 7.0 is still servlet API 2.3 :( ). As per
your earlier suggestion, I tried it using the existing 2_5 servlet extension
bundled, and it fails - there are a bunch of 2.5 calls which a
Never mind, the problem is with the default XML parser in Java, not Restlet. I
thought I had seen different behavior when using the Validator with a document
that was not obtained from a DomRepresentation, but I was mistaken.
--
http://restlet.
On Wed, Nov 11, 2009 at 11:40 AM, Ben R Vesco wrote:
> >> Regarding the enums, we did consider them in several places but they
> prevent
> >> addition of new constants by the framework or by the developer,
> especially
> >> without breaking existing code.
>
Framework users wouldn't be able to ad
Thierry,
Unfortunately this is buggy :
java.lang.IllegalArgumentException: Serialization parameter {indent} must
have the value yes or no
Boolean.toString(isIndent()) should be replaced by:
isIndent() ? "yes" : "no"
Cheers,
Rémi
On Thu, Nov 12, 2009 at 09:34, Thierry Boileau
wrote:
> Hi,
>
> t
Hello,
I've made a successful test with the current snapshot. Could you give it
a try?
If it still fails, could you send us a reproductible test case?
Best regards,
Thierry Boileau
> Using GWT 1.7.0, all GET method calls work in Hosted mode and IE, but Firefox
> *still* uses OPTIONS. I suggest
Using GWT 1.7.0, all GET method calls work in Hosted mode and IE, but Firefox
*still* uses OPTIONS. I suggest promoting this issue to blocker for the GWT
version of Restlet.
Using (taken from JAR manifest):
Name: org.restlet.gwt
Implementation-Title: org.restlet.gwt
Implementation-Version: 2.0 S
Hi,
thanks for your report, the fix is available in the svn repository.
Best regards,
Thierry Boileau
> Hi,
>
> There seems to be a bug in DocRepresentation#createTransformer. Why this:
>
> transformer.setOutputProperty(
>javax.xml.transform.OutputKeys.INDENT, Boolean
>
12 matches
Mail list logo