How to mix use namespace and DTD?417 (3/3/2008 5:30:20 PM) comp.text.xml I need namespace because I need to define other namespace ("http:// www.springframework.org/schema/aop") within root name space "http:// www.springframework.org/schema/beans"). and at the same time, I need ent... jacksu
Castor issue.075 (7/17/2007 1:15:35 PM) comp.lang.java.programmer I am new to use Castor, and stuck in one "simple issue". The"simpleType" won't be generated by Castor, here is simplified versionof the xsd file. And here is the ant build script: ... jacksu
Simple Castor question021 (7/16/2007 10:07:04 PM) comp.lang.java.softwaretools I am new to use Castor, I am stuck in one "simple issue". The "simpleType" won't be generated by Castor, here is simplified version of the xsd file. And here is the ant build script... jacksu
JDBC Arrary for out parameter in Oracle0300 (7/13/2007 2:11:33 PM) comp.lang.java.programmer I know JDBC array has been discussed a lot in the web, but seems itstill have a lot of problems.I have a stored procedure which has two out array parameter:procedure MYProc ( mykey IN varchar2, ... jacksu
How to tell the HOST and PORT of oracle DB through SID?5150 (5/14/2007 9:46:55 PM) comp.lang.java.databases I have one JDBC connection, which works with one particular SID jdbc:oracle:oci8:@MYSID I need to find out what's the host and the port of that instance, because I have to use Thin JDBC, which requires hostna... jacksu
AspectJ and workflow control028 (2/22/2007 11:05:39 PM) comp.lang.java.programmer I am handling a big chunk of old code, its methods only return status code, (0-ok, 1 - user failure, 2 - system error). then the caller must check the return code, if no ok, just return to the next caller. I'd ... jacksu
non-deterministic content model in xsd319 (11/21/2005 11:57:45 PM) comp.text.xml In XMLSpy, I got error message in my xsd: This schema doesn't appear to be valid by itself: makes the content model non-deterministic. If I remove the minOccurs and maxOccurs, then the validations passed. I ... jacksuyu(77)
java xerces xpath fails with namespace1817 (2/10/2006 12:05:34 AM) comp.text.xml I have a simple program to run xpath with xerces 1_2_7 XPathFactory factory = XPathFactory.newInstance(); XPath xPath = factory.newXPath(); XPathExpression xp = xPath.compile(strXpr);... jacksuyu(77)
How is SPI (Service Provider Interface) works?429 (4/19/2006 10:21:23 PM) comp.lang.java.programmer Can I define my own SPI? I read some document, seems need to put service class under META-INF/services directory like filename: com.my.SPIInterface content: com.my.myimplemeentationclass But seems that doe... jacksuyu(77)
SourceDataLine returns wierd sound227 (5/2/2006 10:13:12 PM) comp.lang.java.programmer I read one wav file, and could play with Clip. But when I tried to use SourceDataLine, I got wierd sound back, basically the sound is very quick, 15 sec sound finishes in 1 sec or so. Also, another question,... jacksuyu(77)
TreeSet bug?241 (6/15/2006 9:13:34 PM) comp.lang.java.programmer I got class cast exception for the following two lines of code. Not sure how treeset handle int[]. Thanks. TreeSet arr1 = new TreeSet(); arr1.add(new int[]{3, 2}); System.out.println(arr1.contains(new in... jacksuyu(77)
Look for recursive algorithm1130 (6/15/2006 10:40:48 PM) comp.lang.java.programmer Say i have int array, want to know all the sum combination, ignore orders. say [1, 2, 3] have [1, 2 ,3] [3, 3] [1, 5] [4, 2] [6] How to write efficient java program to do so? The array size from 2 to 1000. ... jacksuyu(77)
How to convert EBCDIC in JDK1.3?249 (9/20/2006 7:16:58 PM) comp.lang.java.programmer In JDK1.5, I found that Cp1047 is great enough to handle EBCDIC char set. But our running environment is still in JDK1.3, and it can't find Cp1047 converter class. java.io.UnsupportedEncodingException: Cp1047 ... jacksuyu(77)