Notes by Dr. Xi
Displaying keyword search results 1 - 10
Created by Dr. Xi on March 21, 2013 19:47:46 Last update: March 22, 2013 12:30:27
It's normal practice to import types from an external xsd file in WSDL like this:
<wsdl:types> <xsd:schema xmlns:xsd="htt...When you use <dynamic-wsdl> and have Commons XMLSchema on the class path, Spring-WS inlines the xsd in the wsdl. But that doesn't happen when you use <static-wsdl> . You can define a SimpleXsdSchema bean to expose the xsd:
Created by Dr. Xi on May 24, 2012 20:36:53 Last update: May 24, 2012 20:36:53
Created by Dr. Xi on February 13, 2012 20:59:35 Last update: February 13, 2012 20:59:54
The insertAttribute tag allows you to have a body as well as specify a default value, but both values are scriptless , i.e., scriptlet is not allowed in body:
Created by Dr. Xi on February 25, 2011 08:43:40 Last update: February 28, 2011 11:16:10
<!doctype html> <html> <body> <p>befor...What is displayed inside the iframe? Try different browsers.
<!doctype html> <html> <head> <style t...
Created by Dr. Xi on February 08, 2011 14:45:13 Last update: February 08, 2011 14:45:50
The ECMAScript defines these single character escape sequences: Escape Sequence Code Unit Value Name Symbol \b \u0008 backspace <BS> \t \u0009 horizontal tab <HT> \n \u000A line feed (new line) <LF> \v \u000B vertical tab <VT> \f \u000C form feed <FF> \r \u000D carriage return <CR> \" \u0022 double quote " \' \u0027 single quote ' \\ \u005C backslash \ Escape sequences can also be: \0 (backspash zero): the <NUL> character. \xdd (x followed by two hexadecimal digits): a Latin-1 character whose code unit value is the value of the hexadecimal number. \udddd (u followed by 4 hexadecimal digits): A Unicode character whose code unit value equals the value of the hexadecimal number. \ddd (backslash followed by 3 octal digits): a Latin-1 character specified as...
Created by Dr. Xi on January 29, 2009 23:27:46 Last update: January 30, 2011 14:53:17
Both document.body.onload and window.onload worked for IE7. Firefox 3 doesn't recognize document.body.onload .
<!doctype html> <html> <body> <h1...
<!doctype html> <html> <body> <h1...
Created by Dr. Xi on August 14, 2008 20:22:20 Last update: January 23, 2011 18:51:55
http://expsharing.blogspot.com/2007/09/documentbody-doctype-scroll-bar-height.html Offers good explanation of: clientWidth, clientHeight offsetWidth, offsetHeight scrollWidth, scrollHeight scrollTop, scrollLeft with doctype on and off. I'm adding two test pages, one without doctype , one with doctype . Without doctype (quirks mode):
<html> <head> <title>Quirks Mode</title> ...With doctype (standard mode):
<!doctype html> <html> <head> <title>Qui...
Created by Dr. Xi on January 22, 2011 20:26:05 Last update: January 22, 2011 20:26:05
Deciding which one to use is not that easy. Chrome and Safari always use document.body.scrollTop , while IE and Firefox use document.body.scrollTop for quirks mode and document.documentElement.scrollTop for standard mode. Your best bet may be something like:
var scrollTop = document.body.scrollTop || doc...Test page for quirks mode:
<html> <head> <title>Quirks Mode</title> ...Test page for standard mode:
<!doctype html> <html> <head> <title>Sta...
Created by Dr. Xi on August 31, 2008 20:43:44 Last update: January 22, 2011 12:48:08
Created by Dr. Xi on August 27, 2008 19:40:19 Last update: January 14, 2011 09:33:20
There's a limit to the number of characters a bookmarklet can contain. Browser Max chars Netscape > 2000 Firefox > 2000 Opera > 2000 IE 4 2084 IE 5 2084 IE 6 508 IE 6 SP 2 488 IE 7 ~2084 IE 8 ~2200-2300 I tried it in the IE6 browser. The following code (573 characters) doesn't work as a bookmarklet. However, <a href="alert('Hi');">Short Bookmarklet</a> works. Actually, you don't have to save the link as a bookmark in order to test, just click the link, nothing happens if the length limit is exceeded.