Robert,
The error is reported by xerces as:
"An error occurred while parsing the XML.
Element 'two_day_history_url' is not valid for content model:
'((credit,credit_URL,image,suggested_pickup,suggested_pickup_period,loca
tion,station_id,latitude,longitude,elevation,observation_time,observatio
n_time_rfc822,weather,temperature_string,temp_f,temp_c,relative_humidity
,wind_string,wind_dir,wind_degrees,wind_mph,wind_gust_mph,pressure_strin
g,pressure_mb,pressure_in,dewpoint_string,dewpoint_f,dewpoint_c,heat_ind
ex_string,heat_index_f,heat_index_c,windchill_string,windchill_f,windchi
ll_c,visibility_mi,icon_url_base,icon_name,two_day_history_url,icon_url_
base,icon_url_name,ob_url,disclaimer_url,copyright_url),privacy_policy_u
rl)'"
I may be related to the fact that the schema has a second definition
of icon_url_base directly after two_day_history_url in the schema. I
think double definitions at the same level in a schema are not allowed.
Regards
Phil
On 27/04/2006, at 11:36 AM, Robert Garcia wrote:
Brian Humes submitted an example to list on 11/2/2005.
Try this on witango:
<@assign name="request$weather" value="<@url location='http://
www.nws.noaa.gov/data/current_obs/KBEH.xml'>">
<@assign name="request$weatherDom" value="<@DOM VALUE='@@request
$weather'>">
Doesn't work. And I tried in RB, and java, no problems.
There have been other examples. But this is the one that took me 10
minutes to find and test.
Do I need to have Brian submit a bug report, or are you going to
take it from here?
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf