Loading

Monthly Archives: October 2009

Disable DOM DTD validation

setValidating(false) will not prevent DTD validation, but you can set http://apache.org/xml/features/nonvalidating/load-external-dtd feature to false. I think is a Xerces-only feature, though, it may not be recognized by other parsers.

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(false);
[...]

Google wave extension list

Interesting list of google wave extensions that I found in DocStoc
Google Wave Extension List –

Bookmark It

Hide Sites

$$(‘div.d966′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });

Rotate screen on Windows [Intel® 945G Express Chipset]

I just found out on that if you have a Intel® 945 or any modern Intel card and you monitor/display/screen appears rotated 90 degrees or upside down, etc you can restore it to it’s original position by pressing Ctrl-Alt-↓
Via: http://www.labnol.org/software/turn-computer-screen-upside-down/6097/

Bookmark It

Hide Sites

$$(‘div.d963′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });

Netbeans: Compile schemas into JAXB classes with XJC task

To add a XJC task to a Netbeans build.xml you need to add a -pre-compile target to your build.xml. If it’s a netbeans module build.xml then you need to make compile depend on -pre-compile and projectized-common.compile (see example below). For regular Java Applications just define the -pre-compile target as the standard build.xml will call [...]