all groups > dotnet xml > november 2005 > threads for november 22 - 28, 2005
Filter by week: 1 2 3 4 5
CPU hangs when Deserializing
Posted by Reg at 11/28/2005 5:17:10 PM
OK, Here is the issue:
I have a string of XML that has been validated against the XSD.
This XSD also created a class called XMLRequest (using xsd.exe).
When I attempt the following code, my CPU is zooming to near 100%
(aspnet_wp) eventually the request times out.
---------
XmlSerial... more >>
Inherit from XmlDocument?
Posted by Gustaf at 11/28/2005 5:12:06 PM
I have a class that contains a certain kind of XML document. The input
file is *not* an XmlDocument, but when loaded, I want it to work like
the XmlDocument class, like:
MyDocument doc = new MyDocument();
doc.Load("input.txt"); // doc is now an XmlDocument
// Query or modify the XmlDocume... more >>
xsd.exe and <xs:list>
Posted by jlea at 11/28/2005 2:40:30 PM
Does anyone know if xsd.exe in .NET v2.0 supports <xs:list> in element
types?
Thanks.
Jon.
... more >>
XML-Problem with Visual Studio
Posted by Florian Pürsch at 11/28/2005 12:24:51 PM
Hi group,
I'm facing a visualisation problem with XML in VS (.Net 2003):
I have a resx-file with all my resource strings in it for
internationalisation of my programm.
The XML-view looks like this:
<date name="WCL_NUMBERBOX_MINI_TB_TT">
<value>Value to increment or decrement</value>
</... more >>
Deserialize elements to hashtable
Posted by Gabriel Lozano-Morán at 11/28/2005 11:41:16 AM
I am bit stuck here (it's monday and I am having probs concentrating).
I have the following Xml file:
<?xml version="1.0" encoding="utf-8" ?>
<preferences>
<groups>
<group name="group1">
<settings>
<setting name="setting1" value="val... more >>
App Architecture ?
Posted by prefersgolfing at 11/28/2005 9:07:51 AM
I am creating two services. One downloads XML streams from WebSphere MQ into
a SQL2K database, the other uploads XML Streams into Websphere MQ from
SQL2K. The upload service polls SQL2K every couple of minutes for uploads.
If there are uploads I create an ADO Dataset that I must convert to an ... more >>
XmlNode Enum Test
Posted by Paul at 11/28/2005 7:45:43 AM
Is there a way to test if an XmlNode represents an enum?
... more >>
Reading a specific set of elements from xsd
Posted by ricolee99 NO[at]SPAM hotmail.com at 11/25/2005 9:14:04 AM
Hi there,
I have an xsd file:
<xsd:element name="RESULTS">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SEARCH_CRITERIA"
type="OutputType:SomeType" minOccurs="0"/>
<xsd:element name="NAMES" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<x... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Whitespace and SOAP
Posted by Gatecrasher at 11/24/2005 9:40:07 AM
I have 100's of entity classes and datasets which are populated on a web
server and returned through IIS web services.
With database fields that contain nothing but spaces I have a problem. When
I look at the entity classes or the dataset tables on the server that have
fields with values l... more >>
Use of classes and datasets generated with xsd.exe
Posted by f.de.matos NO[at]SPAM gmail.com at 11/23/2005 3:58:14 AM
Hello,
these are my first steps with vs2005 (and xml at all), so please be
patient with me :-)
Here is what i'm trying to achieve:
Given a xml file with the following structure (simplified):
<letters>
<letter name="A">
<sound>A.wav</sound>
</letter>
</letters>
i've generated a xs... more >>
XPath Problem
Posted by TJO at 11/22/2005 3:53:25 PM
What does dotnet keep throwing a error here? This is a valid xpath
expression but the error says "Expression must evaluate to a node-set."
XmlNode feedNode =
channelsXml.SelectSingleNode
( "./feed/@id='" + rssID.ToString () + "'" );
<?xml versi... more >>
XmlValidatingReader not working with key constraint of type base64Binary
Posted by BredStik at 11/22/2005 10:46:22 AM
Hi!
I have this particular problem. I have to use a base64Binary attribute
as a key for one element in my schema. Everything is validating ok in
XmlSpy, but when using the .Net XmlValidatingReader to validate my Xml
file, the duplicate key doesn't seem to be checked. When using a
string at... more >>
Can't seem to add XmlIgnore override on inherited property
Posted by nickdu at 11/22/2005 9:09:19 AM
By the way, I also posted this on DotNet Framework General.
I'm trying to serialize, via the XmlSerializer, an object which is derived
from System.Windows.Forms.Control. It throws an exception complaining about
not being able to serialize the Site property. I expected problems and my
plan... more >>
How to call aspx page from C#
Posted by sudeeprgaitonde NO[at]SPAM gmail.com at 11/22/2005 8:19:30 AM
Hello,
I am forming a aspx url with query string parameters as variables.
sUrl = "http://abcd.com/getresults.aspx?zipcode=" + zipcode +
"&areaCode=" + areacode + "&Landmark=" + landmark;
When this url formed is run in IE, it returns an xml in the browser.
Now I want to duplicate this fun... more >>
Suppressing DTD look-up via web access when loading XmlDocument
Posted by emma_middlebrook NO[at]SPAM fastmail.fm at 11/22/2005 4:08:59 AM
Hi
In one of our test suites we load an xml document (it's actually .svg).
I'm trying to find some way of stopping the eventual call to
HttpWebRequest.GetResponse which I presume it's doing when going to get
the DTD at "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd".
The result is ... more >>
Sign Xml
Posted by Henrik Skak Pedersen at 11/22/2005 12:00:00 AM
Hi,
I would like send an user a license certificate which is in xml file. It is
ok that they can read it they are just not allowed to change it. I have
tried to sign my xml document using the SignedXml class and the
RSACryptoServiceProvider to create the key and that works fine.
But I guess... more >>
|