Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Novice Developer Errors: "Non-whitespace characters are not allowed"and IE BG image

Reply
Thread Tools

Novice Developer Errors: "Non-whitespace characters are not allowed"and IE BG image

 
 
Bouton Jones
Guest
Posts: n/a
 
      01-06-2009
Hello,

I'm a ColdFusion developer and HTML handcoder trying to teach myself
XML. I've read all of _XML_ by Vander, Veer, and Mengle and chapters
1 - 12 of _XML for Dummies_ (4th edition.) (Cost played a necessarily
large part in choosing those books.) I'm sure I am making a obvious
and silly mistake but despite my best efforts I have not identified a
solution.

MY FIRST PROBLEM: I've created a valid XML file and DTD file but I'm
having trouble with my Schema file. The files are at
http://www.boutonjones.com/xml/booklist_s.xml and
http://www.boutonjones.com/xml/booklist_s.xsd respectively. The XML
file displays fine in my various browsers but I get error messages
when I try to validate it through the Validome and Schneegans's
validators. (Please see
http://www.validome.org/grammar/vali...booklist_s.xml
and
http://schneegans.de/sv/?url=http%3A...+automatically)
)

For the time being I am focusing on the Validome results. It
generates 47 variations of this message: "Non-whitespace characters
are not allowed in schema elements other than 'xs:appinfo' and
'xs:documentation', but ... was found."

Also the "<" symbol for the closing tag is marked in red and
underlined in the "Error Position."

I've poured over my two XML books numerous times, I've Googled the
offending phrase, and I've read through numerous posts on this and
similar newsgroups, but I haven't been able to isolate the solution.

MY SECOND PROBLEM: The file at http://www.boutonjones.com/xml/booklist.xml
looks fine in Firefox and Opera but the background does not completely
fill the window in IE. It's the background is framed by a white
margin. The CSS at http://www.boutonjones.com/xml/booklist.css reads
in part:

rootbooks
{
display: block;
height: 100%;
width: 100%;
background-color: #FFFFFF;
background-image: url("bg02.gif");
margin: 0;
padding: 0;
background-repeat: repeat;
margin: 0;
color: blue;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}

I've tried changing the margins, padding, width, and height properties
but nothing I've tried so far removes the white border.

Any help will be appreciated.

(My "reply to" address is rarely checked. Please post your response
to this newsgroup or --- if you wish to reply privately --- use my
form at http://www.boutonjones.com/email.cfm )

Thank you for your time, attention, and help.

Bouton Jones
Austin, TX
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Developer - Web Services Developer Ann Java 0 09-06-2007 09:56 AM
Urgent requirements -----PL/SQL Developer & C#.Net Developer nirmal.spectraforce@gmail.com Java 2 09-29-2006 10:50 PM
Urgent requirements -----PL/SQL Developer & C#.Net Developer kiran C++ 0 09-29-2006 06:06 PM
How many cert for windows developer, web developer etc =?Utf-8?B?Sm9l?= MCSD 2 07-21-2005 03:54 AM
Novice Question: Java applet(?) for a JPEG Image Paul Drake Java 2 06-14-2005 07:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57