Search the web
Sign In
New User? Sign Up
straight_talking_java · Former JDJ Straight Talking list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 58090 - 58119 of 60584   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
58090
I guess it wouldn't hurt any of us, esp. us in the US, to develop our language skills. The problem is, you can't learn them all! Bob...
Bob Foster
xmlbob
Offline Send Email
Oct 1, 2008
7:06 am
58091
Given an XML schema I probably shouldn't change I'm creating a javax.xml.validation.Schema and a javax.xml.validation.ValidatorHandler. I'm using the...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 1, 2008
3:25 pm
58092
That's because <foo bar=100> is not XML. Any XML parser should cough on that -- unless you have special options, like HTML portability turned on. Attributes...
gjfdh
Offline Send Email
Oct 1, 2008
8:38 pm
58093
You might take a look at TagSoup: A SAX parser in Java for nasty, ugly HTML http://www.idealliance.org/papers/xml02/slides/cowan/cowan.ppt or search google for...
gjfdh
Offline Send Email
Oct 1, 2008
8:44 pm
58094
You're right about the quotes, but then <foo bar=100/> is as much wrong as <foo bar=100> </foo> and apparently the first one is ok. Jon is right that these 2...
Geert Van Damme
darlingvandamme
Offline Send Email
Oct 1, 2008
8:51 pm
58095
Hmm, I just checked http://www.w3.org/TR/xhtml1/ and according to that doc a <br></br> is fine as well although C.2. Empty Elements Include a space before the...
Geert Van Damme
darlingvandamme
Offline Send Email
Oct 1, 2008
8:54 pm
58096
Yeah, sorry. I should have written: <foo bar="100"/> and <foo bar="100"> </foo> The problem seems to be the way the xsd is written. This would probably work:...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 1, 2008
9:59 pm
58097
Sorry, I'm a little groggy with a cold today. Please see this page: http://www.w3schools.com/Schema/schema_complex_empty.asp I think what you are seeing is...
gjfdh
Offline Send Email
Oct 2, 2008
1:27 am
58098
I'm pretty sure that's what my problem is. I have written an ErrorHandler that glosses over the problem. But it seems fragile to me since it involves...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 2, 2008
2:13 pm
58099
... Or JTidy. DR...
David Rosenstrauch
darose2
Online Now Send Email
Oct 2, 2008
3:45 pm
58100
Pretty interesting to see what it finds... http://www.google.com/search2001.html...
Eric Rizzo
asmalltalker
Online Now Send Email
Oct 3, 2008
4:36 pm
58101
http://eclipse.dzone.com/articles/rip%E2%80%A6jdk-14 Just in case some of you didn't know, 1.4 is getting EOL-ed in just under a month. Eric...
Eric Rizzo
asmalltalker
Online Now Send Email
Oct 3, 2008
5:50 pm
58102
http://itmanagement.earthweb.com/osrc/article.php/3775446/Bruce+Perens:+A+Big+Change+for+Open+Source.htm...
Eric Rizzo
asmalltalker
Online Now Send Email
Oct 3, 2008
6:08 pm
58103
Has anyone looked into or is using the Dependent Object Framework? http://www.justingordon.org/2008/03/database-dependent-junit-tests-and.html ...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 6, 2008
2:59 pm
58104
... First I've heard of it. Looks interesting/useful though. DR...
David Rosenstrauch
darose2
Online Now Send Email
Oct 6, 2008
7:28 pm
58105
On Mon, 6 Oct 2008 10:59:22 -0400, "Jon Strayer" <jon.strayer@...> ... Hadn't seen this before. Looks nice, but also a lot of effort (initially) to set...
Nils Winkler
nils_winkler
Offline Send Email
Oct 7, 2008
10:58 am
58106
I'll have to look into Spring's mock framework. DOF does look like a lot of work to set up. I haven't been able to decide that it's worth the effort. It seems...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 7, 2008
12:37 pm
58107
... The Object Mother or test data builder approaches work pretty well to lessen the creation overhead: http://nat.truemesh.com/archives/000714.html ...
Rod McChesney
rod_mcchesney
Offline Send Email
Oct 7, 2008
3:12 pm
58108
OK, this is admittedly a simple issue, that I should be able to figure out on my own, but I'm spending too much time scratching my head on it and figured I'd...
David Rosenstrauch
darose2
Online Now Send Email
Oct 8, 2008
5:18 pm
58109
I think a valid question is should io.close() ever except? What can you do about it? What would you do? Yes it's bad to swallow exceptions, but if Java ...
John Carney
quakecon
Online Now Send Email
Oct 8, 2008
5:27 pm
58110
My thought would be: try { out.flush(); } finally { out.close(); } But my assumption is that you don't care which call failed. ... -- Esse Quam Videre To Be,...
Jon Strayer
jstrayer2
Online Now Send Email
Oct 8, 2008
5:41 pm
58111
... Makes sense. Thanks for the input. DR...
David Rosenstrauch
darose2
Online Now Send Email
Oct 8, 2008
5:49 pm
58112
... Could do that. But like you said, it's unpredictable as to which IOException the method would throw, which I'm not sure I like. Tnx, DR...
David Rosenstrauch
darose2
Online Now Send Email
Oct 8, 2008
5:50 pm
58113
I thought close() did a flush()? ... -- Curtis Cooley curtis.cooley@... =============== Once a programmer had a problem. He thought he could solve it...
Curtis Cooley
TheDarkSavant
Offline Send Email
Oct 8, 2008
6:05 pm
58114
Yep. Check the JavaDocs. "Close the stream. This is done by flushing the stream and then closing the underlying output stream." ... [Non-text portions of this...
Tracy Snell
tracyjsnell
Online Now Send Email
Oct 8, 2008
6:08 pm
58115
In case this helps, and something I didn't know, from the Java6 API docs: "The flush method of OutputStream does nothing." FileOutputStream overrides close)_...
Curtis Cooley
TheDarkSavant
Offline Send Email
Oct 8, 2008
6:12 pm
58116
http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#close() "Closes this output stream and releases any system resources associated with this...
John Carney
quakecon
Online Now Send Email
Oct 8, 2008
6:15 pm
58117
... Javadoc says: "Closes this output stream and releases any system resources associated with this stream. The general contract of close is that it closes the...
David Rosenstrauch
darose2
Online Now Send Email
Oct 8, 2008
6:28 pm
58118
... ??? Where are you looking? I'm looking at java.io.OutputStream, and it doesn't say that. DR...
David Rosenstrauch
darose2
Online Now Send Email
Oct 8, 2008
6:29 pm
58119
... Jakarta IOUtils has a closeQuietly() method that will ignore exceptions during close(). I think they provide that because they agree with Jon that close()...
Eric Rizzo
asmalltalker
Online Now Send Email
Oct 8, 2008
6:33 pm
Messages 58090 - 58119 of 60584   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help