Re: [castor-dev] bug in pattern evaluation

2004-09-17 Thread Keith Visco
Jos, By default, Castor uses the Jakarta RegExp or the Jakarta ORO regular expression libraries, depending on which version of Castor you are using. You can however, use whatever regular expression library that you want by specifying it in the castor.properties file. All it takes is a simple w

Re: [castor-dev] end-tag into empty elements

2004-09-17 Thread Daniele Marelli
Hello, I have found the perfect solution to my problem. I have subclassed org.apache.xml.serialize.XMLSerializer in this way: package org.apache.xml.serialize; import java.io.IOException; import org.apache.xml.serialize.ElementState; import org.apache.xml.serialize.XMLSerializer; public fina

[castor-dev] end-tag into empty elements

2004-09-17 Thread Daniele Marelli
Hi all, I need to use ALWAYS an end-tag containing a name that echoes the element's type as given in the start-tag. For example, now marshal method produce the following stream: I need, on the other hand, this result: Is there any way to obtain this ? Thank you, Daniele Marelli -

[castor-dev] bug in pattern evaluation

2004-09-17 Thread Jos van den Oever
Hello All, I'm using Castor's XML to classes facitily and have been happy with it. The only problem is, that you sometimes have to work around unemplemented parts of the XML Schema specification. But that's doable. Now I've however found a bug that hinders my use of Castor a bit. I'd like to u