Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
invalid XML silently ignored
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Barney Boisvert  
View profile  
 More options Jun 12, 1:16 pm
From: Barney Boisvert <bboisv...@gmail.com>
Date: Fri, 12 Jun 2009 10:16:28 -0700
Local: Fri, Jun 12 2009 1:16 pm
Subject: invalid XML silently ignored
I just fat fingered (the 'l' in 'rel') some XML:

<property name="cacheStats"><rel bean="contentCacheStats" /></property>

ColdSpring happily loaded the XML and initialized the bean factory, it
just silently ignored that property.  Obviously it's my fault for fat
fingering, but it seems like the XML consumer ought to notice this and
tell me I'm an idiot, right?  It's valid XML, of course, but clearly
doesn't satisfy the DTD.  On this particular project we're
intentionally using a slightly outdated version of ColdSpring, so
before I go digging in, does anyone know if this is still a problem
with HEAD?

cheers,
barenyb

--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Mandel  
View profile  
 More options Jun 12, 8:48 pm
From: Mark Mandel <mark.man...@gmail.com>
Date: Sat, 13 Jun 2009 10:48:58 +1000
Local: Fri, Jun 12 2009 8:48 pm
Subject: Re: [coldspring-users] invalid XML silently ignored

As far as I am aware, ColdSpring deviates in a few places from the spring
DTD/Schema (most notable the 'name' attribute on contructor-args), so there
is no actual checking against it on load up of ColdSpring, although I may
have to look at the code to confirm that.

I just added a Story to the tracker we've started using to make sure that
for the next version we are validating against a Schema, to avoid these
sorts of issues.

Mark

On Sat, Jun 13, 2009 at 3:16 AM, Barney Boisvert <bboisv...@gmail.com>wrote:

--
E: mark.man...@gmail.com
W: www.compoundtheory.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barney Boisvert  
View profile  
 More options Jun 12, 9:09 pm
From: Barney Boisvert <bboisv...@gmail.com>
Date: Fri, 12 Jun 2009 18:09:49 -0700
Local: Fri, Jun 12 2009 9:09 pm
Subject: Re: [coldspring-users] Re: invalid XML silently ignored
Yeah, I know it doesn't validate against the Spring DTD (I use the
Spring Eclipse plugin and ignore the 'name' errors), but it seems like
if it finds a <property> tag without any valid children it should
notice.  Didn't phrase my original email very well, did I?  But since
I saw Chris' tweet about a bottom-up rewrite, I'll happily wait for
that version without any distractions from such a minor issue as this.

So consider my complaint withdrawn.  I'll try to type better.  :)

cheers,
barneyb

--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google