Re: [Mono-dev] monodocs2html help with source

2007-02-28 Thread Jonathan Pryor
On Wed, 2007-02-28 at 11:38 -0300, Pedro Sobota wrote: > So what means is used to specify the link text on Monodoc, if the > element doesn't contain this information? See tools/stylesheet.xsl. If a cref attribute is specified, then the value of the cref attribute is used. If a langword attribut

Re: [Mono-dev] Howto improve Error-Messages of GDI-Functions?

2007-02-28 Thread Sebastien Pouliot
Hey, On Wed, 2007-02-28 at 19:42 +0100, [EMAIL PROTECTED] wrote: > I recently ran into a problem where Bitmap.GetPixel(int, int) threw > ArgumentException with the Message: "Invalid Parameter. A null reference or > invalid value was found." > > As you can image, that does not help at all when d

[Mono-dev] Howto improve Error-Messages of GDI-Functions?

2007-02-28 Thread latency
I recently ran into a problem where Bitmap.GetPixel(int, int) threw ArgumentException with the Message: "Invalid Parameter. A null reference or invalid value was found." As you can image, that does not help at all when debugging your application. Therefore I've made a quick fix which helped me

[Mono-dev] [PATCH] System.Web.Services: throw on protocol mismatch

2007-02-28 Thread Konstantin Triger
Hello all, .Net throws on soap version mismatch. Please review the attached patch fixing this. Regards, Konstantin Triger protmis.patch Description: protmis.patch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.c

Re: [Mono-dev] [PATCH] System.Web.Services: remove extra documentation item(s) from wsdl

2007-02-28 Thread Konstantin Triger
Hi Eno, The fix works for me, but it's still not good: if (o119 is XmlElement) { if ((o119.LocalName == "documentation" && o119.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/";)) { } else o119.WriteTo (Writer); WriteElementLiteral (o119, "", "", false, true); }else throw CreateUnknownAnyEleme

Re: [Mono-dev] monodocs2html help with source

2007-02-28 Thread Pedro Sobota
Sorry, something bad happened to my previous reply. Jonathan Pryor escreveu: > There's just one problem with this: it violates the DTD. > Ok. I didn't know this was part of an ECMA spec. So what means is used to specify the link text on Monodoc, if the element doesn't contain this informati

Re: [Mono-dev] monodocs2html help with source

2007-02-28 Thread Pedro Sobota
/> Ok. I didn't know this was part of an ECMA spec. Where can I see the spec?/ I already found the spec! signature.asc Description: PGP signature signature.asc Description: OpenPGP digital signature ___ Mono-devel-list mailing list Mono-devel-list@l

Re: [Mono-dev] monodocs2html help with source

2007-02-28 Thread Pedro Sobota
> There's just one problem with this: it violates the DTD. Ok. I didn't know this was part of an ECMA spec. Where can I see the spec? So what means is used to specify the link text on Monodoc, if the element doesn't contain this information? > > I downloaded a tar and am compiling on my own

Re: [Mono-dev] Verifying XML Sign

2007-02-28 Thread Atsushi Eno
Hi, The sample code I put runs on .NET 1.x if you use Mono.Security.dll which could be used under .NET 1.x too. On the other hand, X509Certificate2 is sure, only 2.0 thing, but I just use it as a shortcut to retrieve AsymmetricAlgorithms from certificates. Atsushi Eno APS wrote: > Trying to und

Re: [Mono-dev] Verifying XML Sign

2007-02-28 Thread APS
Trying to understandmaybe I found my problem. I develop using vs2003 and framework 1.1 so X509Certificate2 doesn't exists. I have a look at the testcase, it says that "MS doesn't extract the public key out of the certificates ..." referring to the same MSDN article I was talking, so it creat

Re: [Mono-dev] Microsoft's Patterns & Practices: Enterprise Library

2007-02-28 Thread Miguel de Icaza
Hello, > Does anyone know if there are any plans to develop a compatible > library for Microsoft's Patterns & Practices: Enterprise Library from > scratch but with GPL? or some parts of it? If someone does it, it should not be GPL, or we would end up with another restrictive implementation (diffe

[Mono-dev] monodocs2html help building

2007-02-28 Thread Pedro Sobota
Hi, I'm trying to get monodocs2html to run from source on my machine. As a first try on contributing to Mono, I'm looking to make it so the hyperlink generated from elements get their text from the element value if available. (Currently it doesn't read the value and just uses the full name of the

Re: [Mono-dev] Verifying XML Sign

2007-02-28 Thread Atsushi Eno
Hi, You don't need CryptoAPI. You can use CheckSignature(AsymmetricAlgorithm) with the certificate's key (In X509Certificate2, .PublicKey.Key or .PrivateKey.) We have standalone test case for X509 support: http://svn.myrealbox.com/source/trunk/mcs/class/System.Security/Test/standalone_tests/xml

Re: [Mono-dev] Verifying XML Sign

2007-02-28 Thread APS
You're right but I need to use a .cer file to verify the signature and looking at this article http://support.microsoft.com/kb/320602 it seems that I must use cryptoapi to extract the key to pass at the verifysign method. At 10.55 28/02/2007, Atsushi Eno wrote: >Hi, > >You can sign and verify

Re: [Mono-dev] Verifying XML Sign

2007-02-28 Thread Atsushi Eno
Hi, You can sign and verify XML signatures without WSE. System.Security.Cryptography.Xml.SignedXml and relevant classes are implemented in Mono too. Atsushi Eno APS wrote: > Hi guys, > how to verify xml signature in mono? http://www.w3.org/TR/xmldsig-core/ > I've read docs for .net and it includ

Re: [Mono-dev] [PATCH] System.Web.Services: remove extra documentation item(s) from wsdl

2007-02-28 Thread Atsushi Eno
Hi Kosta, Konstantin Triger wrote: > Hi Eno, > > Currently we output the documentation element twice, for example: > if ((o92.Name == "documentation" && o92.NamespaceURI == > "http://schemas.xmlsoap.org/wsdl/";)) { > } > else o92.WriteTo (Writer); > WriteElementLiteral (o92, "", "", false, true)

[Mono-dev] Verifying XML Sign

2007-02-28 Thread APS
Hi guys, how to verify xml signature in mono? http://www.w3.org/TR/xmldsig-core/ I've read docs for .net and it includes adding webservice2 assemblies to machine.config (to support new namespaces) and using windows API for accessing signer certificates data. How can I do it in mono? There's this

Re: [Mono-dev] Mono 1.2.3 for PXA255 XScale

2007-02-28 Thread Antonio Pepiciello
Hi, I,ve problem using Mono 1.2.3 on PXA255. First I try to compile Mono 1.2.3 for arm PXA255 Xscale using Scratchbox, but I,ve the follower error make[6]: *** [build/deps/basic-profile-check.exe] Error 245. And after that it reports an invalid mcs.exe, I tried the monolite-latest but no chang

[Mono-dev] Microsoft's Patterns & Practices: Enterprise Library

2007-02-28 Thread Phil
Does anyone know if there are any plans to develop a compatible library for Microsoft's Patterns & Practices: Enterprise Library from scratch but with GPL? or some parts of it? - Phil ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http