Bugs item #1208458, was opened at 2005-05-25 15:51
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1208458&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Dominique Kuster (dkuster)
>Assigned to: Gert Driesen (drieseng)
Summary: xmlpoke timeout with valid xhtml document

Initial Comment:
My build uses three xmlpoke, one to update a standard 
xml document and two to update a valid xhtml  
document (checked against w3c html validator).
The two pokes on the xhtml document were much 
slower than the first one and the build failed on a slower 
system. Nant reported that it failed to load the 
document because of a timeout.


If I remove the <!DOCTYPE element, everything is fine.

Here is the document
<?xml version="1.0" encoding="utf-8" 
standalone="yes" ?>
<!-- WARNING: KEEP THIS DOCUMENT IN A _VALID_ 
XHTML FORMAT -->
<!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";>
        <head>
        
        <title>QStat.WinFormControls.LaunchControl
</title>
                <link rel="configuration" 
href="../../Client/ApplicationControls.dll.config" />
                <link 
href="../../Styles/Styles.css" type="text/css" 
rel="stylesheet" />
        </head>
        <body>
                <h1>Application launcher 
control</h1>
                <p>In this demo, a hosted .net 
control launches a windows form containing the 
QStatApplicationControl.</p>
                <object id="launcher1" 
classid="QStatApplicationControls.dll#QStat.Application
Controls.LauncherControl">
                        <param 
name="ServiceUrlBase" 
value="ERROR_VALUE_UNSET" />
                </object>
                <hr />
        </body>
</html>

and the xmlpoke task:
<xmlpoke 
file="${build.dir}/web/FunctionalUnits/QStat/launch.htm" 
xpath="/x:html/x:body/x:[EMAIL PROTECTED]'launcher1']/x:param
[EMAIL PROTECTED]'ServiceUrlBase']/@value" value="http://
${web.server}/${web.root}">
<namespaces>
<namespace prefix="x" 
uri="http://www.w3.org/1999/xhtml"; />
</namespaces>
</xmlpoke>


----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-05-29 10:28

Message:
Logged In: YES 
user_id=707851

This is caused by a bug in .NET 1.x. You'll get better results 
using .NET 2.0 (beta 2).



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1208458&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to