Yes, the best thing to do, is to run the transform in the bean. The
witango xml parser can blow up when it shouldn't. The only way we
have found around that, is to clean it outside of witango first, and
the bean is the fastest and most efficient method.
The only thing, is the bean I provided with source, doesn't DEFAULT
to strip all namespaces. I would try my compiled bean, which you pass
the raw string of xml to, then pass the result into witango dom. If
it still burps, look at the source of my bean, and change the
transform to the one with the namespace stripping, and recompile the
bean.
--
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/
On Mar 22, 2006, at 7:28 AM, John McGowan wrote:
Hi Robert. I figured you'd respond...
I already have an xslt to strip all namespace references. The error
I'm getting is when i go to run that transform. The xsl
transformer doesn't like the input xml.
I thought of something this morning when I was getting ready, I'm
going to check it out and I'll post later today if what i think is
causing the probelm is truly causing it.
/John
Robert Garcia wrote:
I believe I posted some xslt transformations in the past that
strip them, for witango.
And there is a witango xml cleaner java bean with source, that has
a method, you can change to strip the namespaces.
--
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/
On Mar 21, 2006, at 4:37 PM, John McGowan wrote:
I'm working with an API that returns XML, and I want to use XSLT
to do some transformation of what I get back. However, the XML
I'm getting back and streaming through the @XSLT tag is throwing
namespace errors. Witango is throwing this error.
Message: The prefix 'msdata' has not been mapped to any URI
However in the XML the prefix msdata *is* being mapped to a URI.
Here are the first few lines of the XML from the API.
<DataSet xmlns="http://tessiturasoftware.com/">
<xs:schema id="GetPerformanceDetailResult" xmlns=""
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
All I'm trying to do is a simple transform to remove namespace
references so that the next step in the processing doesn't need
to worry about them.
I'm trying to figure out if I'm doing something wrong, or if
there is a problem with the XML i'm getting from the outside source.
/John
____________________________________________________________________
____
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
_____________________________________________________________________
___
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf