Linear Fit using Bisquare method fails on certain data sets.
I noticed some behavior that I didn't understand, so I thought I'd post it. I'm using Linear Fit.vi in LabVIEW 8.2 to calculate a slope and offset. This VI has a method input that accepts an enum. When I select the "Bisquare" method on some data sets I get error -20104 (Analysis: Input parameters have at least one NaN element). I think that if some data sets don't work with certain algorithms, this should be mentioned in the help. This took quite some time to track down.
Here is an example of a data set that doesn't work with Linear Fit.
X: Y:
0.40336656 -4.04062388
0.20171238 -2.01997989
0.00072204 -0.00951483
-0.20006598 1.99094268
-0.39979904 3.99578023
I can reproduce the problem.
Interestingly, it works fine if you increase the tolerance input a little bit, e.g. to 0.0004 (from the default 0.0001). It also starts working if you change the data a little bit.
Curious that it works on the Mac. There must be something pathalogical with this exact data set. Maybe it cause an unhandled division by zero in one of the iterations.
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
Error "failed to retrieve data set (ds1) for spry:repeat" in IE when using filters
Everything works fine in Firefox, but in IE7 I get an error
message saying "Failed to retrieve data set (ds1) for spry:repeat."
It seems to be my filter set that's causing this. Once I commented
out the chunk of code that handles filtering, the page finally
loaded. How can I get it to work in IE?
Here's the page:
http://a44.awardspace.com/testing/mbc/portfolio/This usually means the dataset (ds4) can not be found / is not created.
So double check that you have created the dataset.
If this is the case.. please provide us with a online url. -
Failed to retrieve data set (dsLibrary) for spry:repeat
I've tried to make this work with an external xml file,
external html table, and finally this version with an internal html
table for the data set source. The source table shows up in the
browser along with the error message in a box with red header
"Failed to retrieve data set (dsLibrary) for spry:repeat".
I used one of the Adobe Samples as a base for my page. I've
checked and recheck, and I can't find the source of my problem.
Please help!!!
My code is below and the url to the page is
http://www.healthy-horse.info/articles.html
Thanks!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry/">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>hh1</title>
<link href="matt_layout.css" rel="stylesheet"
type="text/css" />
<link href="matt_style.css" rel="stylesheet"
type="text/css" />
<link rel="stylesheet" type="text/css"
href="chromestyle.css" />
<script type="text/javascript"
src="SpryAssets/SpryHTMLDataSet.js"></script>
<script type="text/javascript"
src="SpryAssets/SpryData.js"></script>
<script type="text/javascript">
var dsLibrary = new Spry.Data.HTMLDataSet(null,
"ArticleLibrary");
</script>
<style type="text/css">
.style1 {color:black}
.product {
cursor: pointer;
.hover {
background-color: #A6C4E1;
.selected {
background-color: #D5C897;
</style>
</head>
<body>
<div id="masthead"><img class="title"
src="images/articles_title.gif"/>
<div class="headerinfo">Great informational articles
that cover a wide variety of topics relating to
<strong><em>Horse Health</em></strong> and
<strong><em>Natural Horse
Keeping</em></strong>. </div>
</div>
<!-- end masthead -->
<div class="chromestyle" id="chromemenu">
<ul>
<li ><a href="default.html"
>HOME</a></li>
<li><a
href="articles.html">ARTICLES</a></li>
<li><a
href="faqs.html">FAQ'S</a></li>
<li><a
href="links.html">LINKS</a></li>
<li><a target="_blank" href="
http://www.healthy-horse.info/forum">FORUM</a></li>
<li><a href="mailto:[email protected]"
>EMAIL</a></li>
</ul>
</div>
<div id="wrapper">
<table width="100%" border="0">
<tr>
<td width="30%" valign="top">
<ul spry:region="dsLibrary"
spry:repeatchildren="dsLibrary">
<li class="product" spry:setrow="dsLibrary"
spry:select="selected" spry:hover="hover">{category}</li>
</ul>
</td>
<td width="70%" valign="top">
<div spry:detailregion="dsLibrary">
<div><strong>Articles:</strong>
{articles}</div>
</div>
</td>
</tr>
</table>
<br/>
<!--SOURCE TABLE-->
<table id="ArticleLibrary" border="1" cellspacing="0"
cellpadding="10">
<tr>
<th>category</th>
<th>articles</th>
</tr>
<tr>
<td>Adobe Photoshop CS2</td>
<td>
<ul>
<li>Revolutionary Vanishing Point</li>
<li>Multiple layer control</li>
<li>Smart Objects</li>
<li>Multi-image digital camera raw file
processing</li>
<li>Image Warp</li>
</ul></td>
</tr>
<tr>
<td>Adobe Illustrator CS2</td>
<td>
<ul>
<li>Live Trace</li>
<li>Live Paint</li>
<li>Control palette</li>
<li>Custom workspaces</li>
<li>Photoshop layer comp support</li>
</ul></td>
</tr>
<tr>
<td>Adobe InDesign CS2</td>
<td>
<ul>
<li>Object styles</li>
<li>Adobe Photoshop and Adobe PDF layer
support</li>
<li>InDesign snippets</li>
<li>Adobe InCopy CS2 assignments</li>
<li>Save backwards to InDesign CS</li>
</ul></td>
</tr>
<tr>
<td>Adobe GoLive CS2</td>
<td>
<ul>
<li>Enhanced live rendering</li>
<li>Simple visual tools to build and edit CSS-based
pages</li>
<li>Visual CSS authoring for mobile devices</li>
<li>Visual SVG-t inspection and authoring for
mobile</li>
<li>Total site management</li>
</ul></td>
</tr>
<tr>
<td>Adobe Fireworks 8</td>
<td>
<ul>
<li>Get top-quality design results.</li>
<li>Produce highly optimized files that still look
great.</li>
<li>Slice and export page comps.</li>
<li>Create sophisticated web navigation.</li>
</ul></td>
</tr>
<tr>
<td>Adobe Acrobat Professional</td>
<td>
<ul>
<li>Enjoy improved performance</li>
<li>Extend commenting capabilities</li>
<li>Easily design Adobe PDF forms</li>
<li>Enjoy improved attachment capabilities</li>
</ul></td>
</tr>
<tr>
<td>Adobe Acrobat Standard</td>
<td>
<ul>
<li>Create Adobe PDF documents from Microsoft
Outlook</li>
<li>Enjoy improved performance</li>
<li>Use enhanced headers, footers, and
watermarks</li>
<li>Enjoy improved attachment capabilities</li>
<li>Organize Adobe PDF documents</li>
</ul></td>
</tr>
</table>
<!--END SOURCE TABLE-->
</div>
<!--end wrapper-->
<div id="footer"><p class="footer">Mathew Baker
<a
href="mailto:[email protected]">[email protected]</a>
* Waynesville, OH</p>
</div>
<!--end footer-->
<br/>
<p class="center" style="font-size:9px"><img
src="/cgi-sys/Count.cgi?df=matt.dat|display=Counter|ft=6|md=5|frgb=228;224;224|dd=E"/>
<span class="style1">Web Design by: Maria Lee
- <a
href="mailto:[email protected]">[email protected]</a>
- (937)554-4116</span></p>
</body>
</html>Try moving the SpryHTMLDataSet.js script tag below the
SpryData.js script tag. -
Failed to retrieve data set for spry
I created a spry data set on a blank html page and had no
problems. However, when I followed the same steps on an existing
website I get a large box in live view saying "Failed to retrieve
data set (ds2) for spry:repeat". I tried to create the spry set
inside a div which was inside a div that was inside a table. Could
nesting be the problem?Its because you have a JavaScript error on your page.
in your iframe..
var this_week_wed = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Wednesday']/items/item"{distinctOnLoad:true});
it needs a , after your "/items/item"
var this_week_wed = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Wednesday']/items/item",{distinctOnLoad:true}); -
Solved Hardwareinicializating using guess method fail.
Hi on the second part of boot up before the GDM I see a fail on Hardwareinicializating using guess method, I also have some problems with gnome that is on another post not being able to save settings and having gtk1 buttons and tabs.
This is probably do to the way I tried to config after the base isntall.
Most of the stuff is working so far.
Any suggestions?
Seems to be a sound error , will try to fix it by using config notes.
K tried the method mentioned on isntall notes and nota
Last edited by TomWitko (2009-08-23 16:15:55)umm installed KDE and got some info. I have a dell xps 1530 and in kde its showing a intel driver in a app. I know my sound card is not intel
-
Can I use ReadXML/WriteXML to change Meta Data Set Type?
Has anyone successfully changed which Meta Data Set an asset is using? In the XML description of the asset there's this entry:
<mdValue fieldName="Metadata Set" dataType="string">paassetmedia</mdValue>
but if I try to change it by using this XML statment it doesn't change:
<FinalCutServer>
<request reqId="setMd" entityId="/asset/4922">
<params>
<mdValue fieldName="Metadata Set" dataType="string">paassetshot</mdValue> </params>
</request>
</FinalCutServer>
I know the XML is working because I can change any mdValue besides the MetaData Set.
Ideas?Nick is correct - the only way that you are going to be able to change the MD Set for a given asset is to duplicate it and to delete the original. I've had to do this a few times, using search expired + subscription + responses to do the trick.
Ideally you get the md set right when you first add the assets -
How CallableStatement in JSP use setDate() method to insert the date value into DB?
Dear all,
I met a strange error message when i insert a date value into DB via JSP call PL/SQL procedures.
The error seems caused by the setDate(index, date) method with CallableStatement.
The message is: Can not find the setDate(int, java.util.Date) method in the CallableStatement interfaces.
Any ideas?
Thanks advanced.Thank you!:)
I solved it using this:
String name="david";
stmt = con1.createStatement();
String prikaz1 = "INSERT INTO table (id,age,surname,name) IN 'C:\\Users\\David\\Desktop\\db.mdb' SELECT id,age,surname,' " + name + " ' FROM table2";
stmt.executeUpdate(prikaz1); -
Failed to retrieve data set for spry:repeat
Help! I have read all the posts and fixes in the forums, but
none seem to be helping me. I have moved this coding from my
homepage to a sub-page. It previously worked fine on the homepage.
The coding is the same, however I get the same error message each
time. What am I missing?
Below is my coding:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style3 {font-size: small}
.style5 {color: #808000}
-->
</style>
<script src="../../SpryAssets/SpryMenuBar.js"
type="text/javascript"></script>
<script src="../../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<script src="../../SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="../../SpryAssets/SpryData.js"
type="text/javascript"></script>
<script type="text/javascript">
var this_week_mon = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Monday']/items/item",{distinctOnLoad:true});
var this_week_tue = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Tuesday']/items/item",{distinctOnLoad:true});
var this_week_wed = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Wednesday']/items/item"{distinctOnLoad:true});
var this_week_thu = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Thursday']/items/item",{distinctOnLoad:true});
var this_week_fri = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Friday']/items/item",{distinctOnLoad:true});
var this_week_sat = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Saturday']/items/item",{distinctOnLoad:true});
var this_week_sun = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Sunday']/items/item",{distinctOnLoad:true});
</script>
</head>
<body>
<table>
<tr>
<td width="200"><span class="style14
style1"><strong>Monday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_mon"><span
spry:repeat="this_week_mon"><a href="{@href}"class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14
style1"><strong>Tuesday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_tue"><span
spry:repeat="this_week_tue"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14 style2
style3"><strong>Wednesday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_wed"><span
spry:repeat="this_week_wed"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14 style2
style3"><strong>Thursday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_thu"><span
spry:repeat="this_week_thu"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14 style2
style3"><strong>Friday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_fri"><span
spry:repeat="this_week_fri"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14 style2
style3"><strong>Saturday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_sat"><span
spry:repeat="this_week_sat"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
<tr>
<td width="200"><span class="style14 style2
style3"><strong>Sunday</strong></span></td>
</tr>
<tr valign="top">
<td><div spry:region="this_week_sun"><span
spry:repeat="this_week_sun"><a href="{@href}" class="style14
style5 style3">{item}</a><br />
</span></div></td>
</tr>
</table>
</body>
</html>
the webpage is located at
http://www.harvestfamchurch.org/about_this_week.html
I have tried everything and can't seem to find the final
tweak to make it work.
Thanks.Its because you have a JavaScript error on your page.
in your iframe..
var this_week_wed = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Wednesday']/items/item"{distinctOnLoad:true});
it needs a , after your "/items/item"
var this_week_wed = new
Spry.Data.XMLDataSet("../../Data/this_week2.xml",
"thisweek/day[name='Wednesday']/items/item",{distinctOnLoad:true}); -
Failed to retrieve data set (roducts) for spry:repeat
For some reason, I get this error. Clearly the (roducts) should be (products)
however when I do a global search through the entire directory for the word "products" I get 256 results,
I then search for "roducts" and I get 256 results. There is no misspelled word to be found. Something else
is kicking my teeth in. This is running on my desktop IIS 5.1 for development. I'm afraid to upload it to
the live server as it will most likely kill the working live site.
Does anyone have any suggestions or solutions? Thanks heaps!!!Upload it to a sub-directory (called test or similar) on your live site.
-
11g Method -- byte[] JGeometry.store( JGeometry ) fails for certain SQL
Hi All,
Using the new in 11g byte[] JGeometry.store( JGeometry ) method as oppose to the traditional STRUCT JGeometry.store( JGeometry, Connection) method fails for certain SQL statements.
It works fine for statements like this:
UPDATE PARCELS SET GEOM = ? WHERE ID = 47;
These statements give errors though:
UPDATE PARCELS SET GEOM = SDO_MIGRATE.TO_CURRENT( ?, (SELECT DIMINFO FROM USER_SDO_GEOM_METADATA WHERE TABLE_NAME = 'PARCELS' AND COLUMN_NAME = 'GEOM') ) WHERE ID = 47;
ORA-06553: PLS-306: wrong number or types of arguments in call to 'TO_CURRENT'
SELECT ID, LABEL, GEOM FROM PARCELS WHERE SDO_NN( GEOM, ?, 'SDO_BATCH_SIZE=5000' ) = 'TRUE';
ORA-29900: operator binding does not exist
ORA-06553: PLS-306: wrong number or types of arguments in call to 'SDO_NN'
? Being where I bind in the byte[] / Object as appropriate.
So I get the above errors when using setBytes( index, JGeometry.store( jgeom ) ); but it work when using: setObject( index, JGeometry.store( jgeom, con ) );
Is this a bug is known / will be fixed ?
Thanks,
RonanRonan,
Typically this works fine in OC4J, but does not work in WLS or other containers since the connection type is different between.
In OC4J, the connection is an Oracle connection which can handle these object conversions.
We will try to improve the documentation for this to explicitly specify where this interface can be used.
siva -
How to use set_encoding method to set encoding in ABAP Mapping
Hi All,
Can anyone please let me know how to use set_encoding method in ABAP Mapping to set encoding.
Any help would be greatly appreciable.
Regards,
DinakarHi Stefan,
Thanks for your info. Let me try in ABAP Forum.
Regards,
Dinakar -
I have some data that should follow a straight line, but there are spikes in
it. Rather than manually editing the data to remove the spikes, which is
tedious and time consuming, I wanted a function that would intelligently
decide which datapoints were bad and zap them.
Initially I thought this would be trivial; do the fit, calculate residuals
and zap all data lying further than one standard deviation from the line.
However, the spikes are sufficiently large that they can skew the linear
fit, and hence the determination of which points to drop. Doing a threshold
zap on the raw data isn't adequate since the values of the data aren't
sufficiently consistent between sets.
I tried differentiating the residuals- and in another attempt the straight
line data- reasoning that the differential should be constant everywhere
other than around the spike, and a simple thresholding would then tell me
which data to kill. Again no success; the data either side of the spike are
far from the constant line, the data of the spike itself are not.
The approach I've settled with is to do the linear fit on all the data, get
the MSE, zap the first datapoint and get the MSE, replace the first and zap
the second and so on until I have a table showing the effect of removing
each individual datapoint on the overall fit quality. I then find the most
significant datapoint, see if the effect of removing that gives a percentage
decrease in the MSE better than a user defined threshold, and then repeat
the process until either there are no more significant gains to be made or a
limit for the percentage of data that can be dropped is reached. To avoid
zapping down to two datapoints, I've chosen 50% as the maximum number of
points to lose and 50% as the increase in fit quality required to justify
the loss of a data point.
This works well, but it means that if there are n datapoints, n linear fits
must be carried out for each data point dropped. Execution time is therefore
going to increase exponentially with the data size, which always worries me
slightly.
One thing I've already thought of is the possibility of zapping more than
one point per iteration; however the fit changes so much when a single
outlier is removed that I suspect valid data may be lost this way.
Does anyone have any other suggestions to zap erroneous data without zapping
good data? This technique is fine for small datasets, and I guess the
threshold-based zapping is fine for large datasets, where the loss of a few
points changes the fit only very little, but if I ever need to do this on
data in the intermediate region I might have to start playing about again.
Craig Graham
Physicist/Labview Programmer
Lancaster University, UKI have a question about your approach:
Does "ZAP" mean that you are going to completely "delete" the outlier point or to "modify" it? Be advise that if you completely delete an outlier, your resulting data will be shifted to the right from that point, and thus your resulting data will no longer resemble a straight line.
www.vartortech.com -
OBIEE 11g BI Publisher; New Data Set Creation Error "Failed to load SQL"
Hi,
I'm trying to create a new SQL data set (from a client machine). I use "query builder" to build the data set. But when I click "OK", it fires the error "Failed to load SQL".
But strangely, if connect to the OBIEE server's desktop and create the data set it works without any issues. I wonder this would be a firewall issue. If so what are the ports I should open.
It's a enterprise installation. And we have already open 9703, 9704, and 9706.
Has anyone came across such a situation?Talles,
First of all you might have more chance of getting a response over in the BIP forum. Other than that all I can think of is: is your MS SQL Server running with mixed mode auth? -
Fighting with typed data set and GetChildRows() method
Hi,
I have problems with the GetChildRows method of a typed data set of a VS2005 data set designer generated code to get all child rows from a parent table. Its not working the way it should and throws a "invalid cast exception" on the line
DataSet.T_CHILDRow[] childs = parent.GetT_CHILDRows();
I don't know if the problem is me and my still limited VS/C# knowledge or the Oracle .NET provider (local installed oracle10gR2 and Oracle .NET provider v2.0.50727) or VS2005 and the code generator for the data set.
I attach the sample script to create my test table T_PARENT and T_CHILD as well as some test data and my program.cs console test application. To create the data set, just add a new data set to the solution named "DataSet.xsd" and drop the two test tables from the database explorer onto the data set designer window.
TIA,
Stefan
================ sample.sql =================
create table T_PARENT (
PARENT_ID number(10) not null,
PARENT_NAME varchar2(100) not null,
constraint T_PARENT_PK primary key(PARENT_ID)
using index
create table T_CHILD (
CHILD_ID number(10) not null,
PARENT_ID number(10) not null,
CHILD_NAME varchar2(100) not null,
constraint T_CHILD_PK primary key(CHILD_ID)
using index
alter table T_CHILD
add constraint T_CHILD_FK1 foreign key(PARENT_ID)
references T_PARENT(PARENT_ID);
insert into T_PARENT(PARENT_ID, PARENT_NAME) values (1, 'Parent 1');
insert into T_PARENT(PARENT_ID, PARENT_NAME) values (2, 'Parent 2');
insert into T_PARENT(PARENT_ID, PARENT_NAME) values (3, 'Parent 3');
insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (11, 1, 'First Child of Parent 1');
insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (12, 1, 'Second Child of Parent 1');
insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (13, 1, 'Third Child of Parent 1');
insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (31, 3, 'First Child of Parent 3');
================ program.cs =================
using System;
using System.Collections.Generic;
using System.Text;
using TestChildRows.DataSetTableAdapters;
namespace TestChildRows
class Program
static void Main(string[] args)
T_PARENTTableAdapter taParent = new T_PARENTTableAdapter();
DataSet.T_PARENTDataTable dtParents = taParent.GetData();
foreach (DataSet.T_PARENTRow parent in dtParents)
Console.WriteLine("\nParent Name: " + parent.PARENT_NAME);
DataSet.T_CHILDRow[] childs = parent.GetT_CHILDRows();
if (childs.Length > 0)
foreach (DataSet.T_CHILDRow child in childs)
Console.WriteLine("\tChild Name: " + child.CHILD_NAME);
else
Console.WriteLine("\tThis parent has no childs!");
Console.Write("\nPress any key to end program ");
Console.ReadLine();
}I found it: the problem is a bug in VS2005. Even SP1 provides no fix. MS just states that it will be fixed in the next VS release, but provides no info which release this will be.
See:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=114983
For a work arround see:
http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=114983
Stefan -
Error message when using Spry Data set with XML
Hi,
I have what i see as a big problem, might just be me being
dumm, but here we go.
When I try to use the feature of spry XML Data Set and insert
spry table I get error message when trying it in IE 7.
There are even a problem when I use fireworks automated slide
show function, where you can choose to use the Spry/XML gallery
feature.
The error message I get everytime (incl the auto gallery in
fireworks) is:
The tag: "html" doesn't have an attribute: "xmlns:spry" in
currently active versions.[XHTML 1.0 transitional]
The tag: "div" doesn't have an attribute: "spry:region" in
currently active versions.[XHTML 1.0 transitional]
The tag: "th" doesn't have an attribute: "spry:sort" in
currently active versions.[XHTML 1.0 transitional]
and so on.
What´s wrong?!Hello barvid,
Ok, let's take each problem step by step:
1. The first error you see in the browser: " Exception while
loading ..." normally appears when you try to load files that are
not permitted by the browser security model. This means the XML
file you try to load is located on a different server than your
HTML which is not allowed. The browser is not permitting to load
any files that are not in the same domain as the current page
because of the complex security risks. You'll have to either get
the XML file from its original location and save it in your website
or use a proxy on your web server that should request that file
from the external server and send it to the browser as an XML from
the same domain as the HTML origin.
1.2 The "Exception while loading ..." error you see is a
generic error and my previous advise is based on my experience. In
case this is not your scenario you'll have to open the SpryData.js
and around line 112 you'll see the following code:
Spry.Debug.reportError("Exception caught while loading " +
url + ": " + e);
Please change this line with the following line of code:
Spry.Debug.reportError("Exception caught while loading " +
url + ": " + (e.message?e.message:e));
to obtain a more verbose error message that may clarify the
reasons of your errors.
2. The problems you describe are not browser errors but they
are w3c validation errors. At this point the XHTML standard allows
every application that define custom namespace attributes to also
link a DTD to the page so the page to continue to be valid.
Unfortunately at this point this feature is not correctly supported
by the FF and IE so we wrote an articles about how you should
link
the Spry DTD to your page so the validator understand the
custom attributes Spry use. You'll find inside the full description
of the problems and all the technical details you'll need to know
to solve this issue.
Regards,
Cristian
Maybe you are looking for
-
Read the title. I can download app from my pc and itunes but not from iPhone
-
IC WebClient telephony toolbar doesn't work in CRM 7.0 EHP2
Hi, I've a issue with IC webclient telephony toolbar, I comment: After upgrading SAP CRM 7.0 to SAP CRM 7.0 EHP2, the IC webclient telephony toolbar doesn't work. I have seen: 1.- When I use "Dial Pad" to call in CRM 7.0 EHP2 (the current version), t
-
Aperture 1.5.3 and iWeb - poor image quality and shuffled Media browser
Hi, I have two questions: 1. I used to use iPhoto 6 together with iWeb 1.1.2, but have since upgraded to Aperture. My Aperture library previews show up nicely in iWeb's media browser, but the quality of the thumbs on the photopage I create, and fulls
-
Hi All In a report i have field called "CERTIFY" and it has two values 1 and 2. Based on this i create a calculation: CASE WHEN DW_MDSS_ROUTE_SO_POST.CERTIFY = '1' THEN COUNT(DW_MDSS_ROUTE_SO_POST.CERTIFY) WHEN DW_MDSS_ROUTE_SO_POST.CERTIFY = '2' THE
-
Hello all, I need to create a data type with the following structure Start record -- Section start payment record -- Section end End record is this possible? when I go from the "payment record" level to "senction end" level i choose "insert element a