|
List Info
Thread: 1.6.0_RC0 error in IE7 (Invalid character)
|
|
| 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 09:19:06 |
Please CC me on responses as I'm not subscribed to this
list.
Ok, I've been banging my head against the wall for 2 days
with this.
I've narrowed it down to something in prototype.js
specifically. I've
redownloaded it, and tried the latest svn checkouts.
Here's my sample code:
<html>
<head>
<title>Untitled Document</title>
<script type="text/javascript"
src="js/prototype.js"></script>
</head>
<body>
</body>
</html>
Yes, that does what it looks like: nothing. if I replace
prototype.js
with prototype_1511.js, it loads without error. The
specific IE
version is 7.0.5730.11 on Windows XP 32Bit.
That fails. In IE with:
Line: 2
Char: 1
Error: Invalid character
Code: 0
URL: file:///C:/ajaxcatalogcd/index_just_prototype.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |

|
2007-09-25 09:24:44 |
On 25/09/2007, Pat <paerley gmail.com> wrote:
>
> Please CC me on responses as I'm not subscribed to this
list.
>
> Ok, I've been banging my head against the wall for 2
days with this.
> I've narrowed it down to something in prototype.js
specifically. I've
> redownloaded it, and tried the latest svn checkouts.
>
> Here's my sample code:
>
> <html>
> <head>
> <title>Untitled
Document</title>
> <script
type="text/javascript"
src="js/prototype.js"></script>
> </head>
> <body>
> </body>
> </html>
>
> Yes, that does what it looks like: nothing. if I
replace prototype.js
> with prototype_1511.js, it loads without error. The
specific IE
> version is 7.0.5730.11 on Windows XP 32Bit.
>
> That fails. In IE with:
>
> Line: 2
> Char: 1
> Error: Invalid character
> Code: 0
> URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
Are you are using file loading rather than a web server?
--
-----
Richard Quadling
Zend Certified Engineer :
http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever
giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 09:28:56 |
On Sep 25, 10:24 am, "Richard Quadling"
<rquadl... googlemail.com>
wrote:
> On 25/09/2007, Pat <paer... gmail.com> wrote:
>
>
>
>
>
> > Please CC me on responses as I'm not subscribed to
this list.
>
> > Ok, I've been banging my head against the wall for
2 days with this.
> > I've narrowed it down to something in prototype.js
specifically. I've
> > redownloaded it, and tried the latest svn
checkouts.
>
> > Here's my sample code:
>
> > <html>
> > <head>
> > <title>Untitled
Document</title>
> > <script
type="text/javascript"
src="js/prototype.js"></script>
> > </head>
> > <body>
> > </body>
> > </html>
>
> > Yes, that does what it looks like: nothing. if I
replace prototype.js
> > with prototype_1511.js, it loads without error.
The specific IE
> > version is 7.0.5730.11 on Windows XP 32Bit.
>
> > That fails. In IE with:
>
> > Line: 2
> > Char: 1
> > Error: Invalid character
> > Code: 0
> > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
>
> Are you are using file loading rather than a web
server?
>
> --
Yeah, it's a local file while I'm editing.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |

|
2007-09-25 09:31:19 |
On 25/09/2007, Pat <paerley gmail.com> wrote:
>
>
>
> On Sep 25, 10:24 am, "Richard Quadling"
<rquadl... googlemail.com>
> wrote:
> > On 25/09/2007, Pat <paer... gmail.com> wrote:
> >
> >
> >
> >
> >
> > > Please CC me on responses as I'm not
subscribed to this list.
> >
> > > Ok, I've been banging my head against the
wall for 2 days with this.
> > > I've narrowed it down to something in
prototype.js specifically. I've
> > > redownloaded it, and tried the latest svn
checkouts.
> >
> > > Here's my sample code:
> >
> > > <html>
> > > <head>
> > > <title>Untitled
Document</title>
> > > <script
type="text/javascript"
src="js/prototype.js"></script>
> > > </head>
> > > <body>
> > > </body>
> > > </html>
> >
> > > Yes, that does what it looks like: nothing.
if I replace prototype.js
> > > with prototype_1511.js, it loads without
error. The specific IE
> > > version is 7.0.5730.11 on Windows XP 32Bit.
> >
> > > That fails. In IE with:
> >
> > > Line: 2
> > > Char: 1
> > > Error: Invalid character
> > > Code: 0
> > > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
> >
> > Are you are using file loading rather than a web
server?
> >
> > --
>
> Yeah, it's a local file while I'm editing.
I would STRONGLY recommend getting a web server (Sambar,
Apache, both
free or IIS if you have too).
--
-----
Richard Quadling
Zend Certified Engineer :
http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever
giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 09:36:18 |
I am curious about this behavior as well.
Why does it throw an error.
Does this mean that we should not use prototype.js for CD
delivered
html content?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 09:38:57 |
On Sep 25, 10:31 am, "Richard Quadling"
<rquadl... googlemail.com>
wrote:
> On 25/09/2007, Pat <paer... gmail.com> wrote:
>
>
>
>
>
> > On Sep 25, 10:24 am, "Richard Quadling"
<rquadl... googlemail.com>
> > wrote:
> > > On 25/09/2007, Pat <paer... gmail.com> wrote:
>
> > > > Please CC me on responses as I'm not
subscribed to this list.
>
> > > > Ok, I've been banging my head against
the wall for 2 days with this.
> > > > I've narrowed it down to something in
prototype.js specifically. I've
> > > > redownloaded it, and tried the latest
svn checkouts.
>
> > > > Here's my sample code:
>
> > > > <html>
> > > > <head>
> > > > <title>Untitled
Document</title>
> > > > <script
type="text/javascript"
src="js/prototype.js"></script>
> > > > </head>
> > > > <body>
> > > > </body>
> > > > </html>
>
> > > > Yes, that does what it looks like:
nothing. if I replace prototype.js
> > > > with prototype_1511.js, it loads without
error. The specific IE
> > > > version is 7.0.5730.11 on Windows XP
32Bit.
>
> > > > That fails. In IE with:
>
> > > > Line: 2
> > > > Char: 1
> > > > Error: Invalid character
> > > > Code: 0
> > > > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
>
> > > Are you are using file loading rather than a
web server?
>
> > > --
>
> > Yeah, it's a local file while I'm editing.
>
> I would STRONGLY recommend getting a web server (www,
Apache, both
> free or IIS if you have too).
>
> --
Not really an option, unfortunately, I have a 'project' that
is to
create a cross platform, cross browser, catalog CD, with
just 51 MB of
space (business card CDs). Currently, I'm hovering around
49MB usage
with all the part pictures. I actually have that all
working, but
there has been a request to add some 'razmatazz' of being
able to
search inside the catalog. I've written a basic html parser
that just
goes through and builds hashs from specific tables in each
file for
searching, and it works fine in FF, but not in IE. Is there
any other
known way to work around this? Why does prototype 1.5.1.1
work and
not 1.6.0_RC0? I could work on back porting my stuff to
1.5.1.1, but
I have been heavily abusing Object.writeAttribute, and
obj.readAttribute (as opposed to
Object.readAttribute(obj)).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |

|
2007-09-25 09:40:31 |
Can you try dropping the js/ part and put the prototype.js
file in the
same location as the html file?
On 25/09/2007, Pat <paerley gmail.com> wrote:
>
>
>
> On Sep 25, 10:31 am, "Richard Quadling"
<rquadl... googlemail.com>
> wrote:
> > On 25/09/2007, Pat <paer... gmail.com> wrote:
> >
> >
> >
> >
> >
> > > On Sep 25, 10:24 am, "Richard
Quadling" <rquadl... googlemail.com>
> > > wrote:
> > > > On 25/09/2007, Pat <paer... gmail.com> wrote:
> >
> > > > > Please CC me on responses as I'm
not subscribed to this list.
> >
> > > > > Ok, I've been banging my head
against the wall for 2 days with this.
> > > > > I've narrowed it down to something
in prototype.js specifically. I've
> > > > > redownloaded it, and tried the
latest svn checkouts.
> >
> > > > > Here's my sample code:
> >
> > > > > <html>
> > > > > <head>
> > > > >
<title>Untitled Document</title>
> > > > > <script
type="text/javascript"
src="js/prototype.js"></script>
> > > > > </head>
> > > > > <body>
> > > > > </body>
> > > > > </html>
> >
> > > > > Yes, that does what it looks like:
nothing. if I replace prototype.js
> > > > > with prototype_1511.js, it loads
without error. The specific IE
> > > > > version is 7.0.5730.11 on Windows
XP 32Bit.
> >
> > > > > That fails. In IE with:
> >
> > > > > Line: 2
> > > > > Char: 1
> > > > > Error: Invalid character
> > > > > Code: 0
> > > > > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
> >
> > > > Are you are using file loading rather
than a web server?
> >
> > > > --
> >
> > > Yeah, it's a local file while I'm editing.
> >
> > I would STRONGLY recommend getting a web server
(www, Apache, both
> > free or IIS if you have too).
> >
> > --
>
> Not really an option, unfortunately, I have a 'project'
that is to
> create a cross platform, cross browser, catalog CD,
with just 51 MB of
> space (business card CDs). Currently, I'm hovering
around 49MB usage
> with all the part pictures. I actually have that all
working, but
> there has been a request to add some 'razmatazz' of
being able to
> search inside the catalog. I've written a basic html
parser that just
> goes through and builds hashs from specific tables in
each file for
> searching, and it works fine in FF, but not in IE. Is
there any other
> known way to work around this? Why does prototype
1.5.1.1 work and
> not 1.6.0_RC0? I could work on back porting my stuff
to 1.5.1.1, but
> I have been heavily abusing Object.writeAttribute, and
> obj.readAttribute (as opposed to
Object.readAttribute(obj)).
>
>
> >
>
--
-----
Richard Quadling
Zend Certified Engineer :
http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever
giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 09:43:35 |
Same error
--
Top posted following suit, and under objection
On Sep 25, 10:40 am, "Richard Quadling"
<rquadl... googlemail.com>
wrote:
> Can you try dropping the js/ part and put the
prototype.js file in the
> same location as the html file?
>
> On 25/09/2007, Pat <paer... gmail.com> wrote:
>
>
>
>
>
> > On Sep 25, 10:31 am, "Richard Quadling"
<rquadl... googlemail.com>
> > wrote:
> > > On 25/09/2007, Pat <paer... gmail.com> wrote:
>
> > > > On Sep 25, 10:24 am, "Richard
Quadling" <rquadl... googlemail.com>
> > > > wrote:
> > > > > On 25/09/2007, Pat <paer... gmail.com> wrote:
>
> > > > > > Please CC me on responses as
I'm not subscribed to this list.
>
> > > > > > Ok, I've been banging my head
against the wall for 2 days with this.
> > > > > > I've narrowed it down to
something in prototype.js specifically. I've
> > > > > > redownloaded it, and tried the
latest svn checkouts.
>
> > > > > > Here's my sample code:
>
> > > > > > <html>
> > > > > > <head>
> > > > > >
<title>Untitled Document</title>
> > > > > > <script
type="text/javascript"
src="js/prototype.js"></script>
> > > > > > </head>
> > > > > > <body>
> > > > > > </body>
> > > > > > </html>
>
> > > > > > Yes, that does what it looks
like: nothing. if I replace prototype.js
> > > > > > with prototype_1511.js, it
loads without error. The specific IE
> > > > > > version is 7.0.5730.11 on
Windows XP 32Bit.
>
> > > > > > That fails. In IE with:
>
> > > > > > Line: 2
> > > > > > Char: 1
> > > > > > Error: Invalid character
> > > > > > Code: 0
> > > > > > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
>
> > > > > Are you are using file loading
rather than a web server?
>
> > > > > --
>
> > > > Yeah, it's a local file while I'm
editing.
>
> > > I would STRONGLY recommend getting a web
server (www, Apache, both
> > > free or IIS if you have too).
>
> > > --
>
> > Not really an option, unfortunately, I have a
'project' that is to
> > create a cross platform, cross browser, catalog
CD, with just 51 MB of
> > space (business card CDs). Currently, I'm
hovering around 49MB usage
> > with all the part pictures. I actually have that
all working, but
> > there has been a request to add some 'razmatazz'
of being able to
> > search inside the catalog. I've written a basic
html parser that just
> > goes through and builds hashs from specific tables
in each file for
> > searching, and it works fine in FF, but not in IE.
Is there any other
> > known way to work around this? Why does prototype
1.5.1.1 work and
> > not 1.6.0_RC0? I could work on back porting my
stuff to 1.5.1.1, but
> > I have been heavily abusing Object.writeAttribute,
and
> > obj.readAttribute (as opposed to
Object.readAttribute(obj)).
>
> --
> -----
> Richard Quadling
> Zend Certified Engineer :
http://zend.com/zce.php?c=ZEND002498&r=213474731
> "Standing on the shoulders of some very clever
giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |

|
2007-09-25 09:45:14 |
On 25/09/2007, Richard Quadling <rquadling googlemail.com> wrote:
> Can you try dropping the js/ part and put the
prototype.js file in the
> same location as the html file?
>
>
> On 25/09/2007, Pat <paerley gmail.com> wrote:
> >
> >
> >
> > On Sep 25, 10:31 am, "Richard Quadling"
<rquadl... googlemail.com>
> > wrote:
> > > On 25/09/2007, Pat <paer... gmail.com> wrote:
> > >
> > >
> > >
> > >
> > >
> > > > On Sep 25, 10:24 am, "Richard
Quadling" <rquadl... googlemail.com>
> > > > wrote:
> > > > > On 25/09/2007, Pat <paer... gmail.com> wrote:
> > >
> > > > > > Please CC me on responses as
I'm not subscribed to this list.
> > >
> > > > > > Ok, I've been banging my head
against the wall for 2 days with this.
> > > > > > I've narrowed it down to
something in prototype.js specifically. I've
> > > > > > redownloaded it, and tried the
latest svn checkouts.
> > >
> > > > > > Here's my sample code:
> > >
> > > > > > <html>
> > > > > > <head>
> > > > > >
<title>Untitled Document</title>
> > > > > > <script
type="text/javascript"
src="js/prototype.js"></script>
> > > > > > </head>
> > > > > > <body>
> > > > > > </body>
> > > > > > </html>
> > >
> > > > > > Yes, that does what it looks
like: nothing. if I replace prototype.js
> > > > > > with prototype_1511.js, it
loads without error. The specific IE
> > > > > > version is 7.0.5730.11 on
Windows XP 32Bit.
> > >
> > > > > > That fails. In IE with:
> > >
> > > > > > Line: 2
> > > > > > Char: 1
> > > > > > Error: Invalid character
> > > > > > Code: 0
> > > > > > URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
> > >
> > > > > Are you are using file loading
rather than a web server?
> > >
> > > > > --
> > >
> > > > Yeah, it's a local file while I'm
editing.
> > >
> > > I would STRONGLY recommend getting a web
server (www, Apache, both
> > > free or IIS if you have too).
> > >
> > > --
> >
> > Not really an option, unfortunately, I have a
'project' that is to
> > create a cross platform, cross browser, catalog
CD, with just 51 MB of
> > space (business card CDs). Currently, I'm
hovering around 49MB usage
> > with all the part pictures. I actually have that
all working, but
> > there has been a request to add some 'razmatazz'
of being able to
> > search inside the catalog. I've written a basic
html parser that just
> > goes through and builds hashs from specific tables
in each file for
> > searching, and it works fine in FF, but not in IE.
Is there any other
> > known way to work around this? Why does prototype
1.5.1.1 work and
> > not 1.6.0_RC0? I could work on back porting my
stuff to 1.5.1.1, but
> > I have been heavily abusing Object.writeAttribute,
and
> > obj.readAttribute (as opposed to
Object.readAttribute(obj)).
I placed this file in the same loc as prototype.js
(V1.6.0_rc0) and it
loads on FF and in IE.
<html>
<head>
<title>Untitled Document</title>
<script type="text/javascript"
src="./prototype.js"></script>
<script
type="text/javascript">alert(Prototype.Version)
;</script>
</head>
<body>
</body>
</html>
In both I get an alert with 1.6.0_rc0
--
-----
Richard Quadling
Zend Certified Engineer :
http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever
giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: 1.6.0_RC0 error in IE7 (Invalid
character) |
  United States |
2007-09-25 17:36:28 |
Pat,
Line: 2
Char: 1
Error: Invalid character
Code: 0
URL: file:///C:/ajaxcatalogcd/index_just_prototype.html
This is a signature that tells me, it must be one of the two
things:
1. A request for js file is broken, an standard html page
with error
is returned, thus signaling an invalid characters so close
to the
beginnign of the file.
2. A broken UTF-8 encoding is used (or used but not
expected), thus,
same invalid characted error.
1st is more likely. Any virtual Web server (as said already)
will help
you out and a http analyzing tool for IE (less - for FF)
called
Fiddler. With it you will certainly see what kind of content
is
brought back to the page's request for prototype.js. I doubt
Fiddler
will work on filesystem protocol (file:///)
Best regards,
Andrew Revinsky
On Sep 25, 6:19 pm, Pat <paer... gmail.com> wrote:
> Please CC me on responses as I'm not subscribed to this
list.
>
> Ok, I've been banging my head against the wall for 2
days with this.
> I've narrowed it down to something in prototype.js
specifically. I've
> redownloaded it, and tried the latest svn checkouts.
>
> Here's my sample code:
>
> <html>
> <head>
> <title>Untitled
Document</title>
> <script
type="text/javascript"
src="js/prototype.js"></script>
> </head>
> <body>
> </body>
> </html>
>
> Yes, that does what it looks like: nothing. if I
replace prototype.js
> with prototype_1511.js, it loads without error. The
specific IE
> version is 7.0.5730.11 on Windows XP 32Bit.
>
> That fails. In IE with:
>
> Line: 2
> Char: 1
> Error: Invalid character
> Code: 0
> URL:
file:///C:/ajaxcatalogcd/index_just_prototype.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
|
|