Re: [Mono-list] Validating an XML document

2006-12-12 Thread Loren Bandiera
> Hi, > > Thanks again for the simple repro. I fixed the issue with your > repro code in svn (r69383). It turned out that the issue was > rather in XmlReader.Create(), not the validator. > I just tested it out and I can confirm it's working for me now! Thanks for al

Re: [Mono-list] Validating an XML document

2006-12-11 Thread Loren Bandiera
esting>main Product.xml Here in OnValidationEvent The 'ProductIDAAA2' attribute is not declared. Here in OnValidationEvent The required attribute 'ProductID' is missing. Document is invalid When I run it under Linux/Mono: $ ./main.exe Product.xml Document is valid -- Loren

Re: [Mono-list] Validating an XML document

2006-12-11 Thread Loren Bandiera
em. Sorry it's a pain. -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Validating an XML document

2006-12-11 Thread Loren Bandiera
dows/MS.NET this is caught: C:\testing>main definition_test_suite.xml Here in OnValidationEvent The required attribute 'version' is missing. Document is invalid Using the updated Mono SVN version under Linux, I get: $ ./main.exe definition_test_suite.xml Document is valid -- Loren

Re: [Mono-list] Validating an XML document

2006-12-10 Thread Loren Bandiera
oth mono and .net fails because of > missing schema components (and it is really missing). Oops. To much cutting! The original is available here: http://dev.mmgsecurity.com/downloads/testing/xsd-validate-test-orig.zip -- Loren Bandiera <[EMAIL PROTECTED]&

Re: [Mono-list] Resource Question

2006-10-24 Thread Loren Bandiera
d "file.txt" and a > regular old file will not get it either. Aren't the resources > compiled > into the app? How do I get it? -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@

Re: [Mono-list] Suppressing "The private method `xxxxx' is never used" warnings

2006-10-18 Thread Loren Bandiera
eflection. This gives rise to a lot of "The > private > method `x' is never used" warnings when compiling under Mono. > > Is there are way (using an Attribute, probably) to flag these methods > as > called from Reflection, so the compiler doesn't give these

Re: [Mono-list] ASP.NET and MySQL

2006-09-22 Thread Loren Bandiera
imian.com/show_bug.cgi?id=79211 > > Check whether the path to your mono and/or xsp2 contains a symlink > and retry w/out the symlink. -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] ASP.NET and MySQL

2006-09-22 Thread Loren Bandiera
It's listening on the standard port (3306) so no I didn't. But I just tried it now and it made no difference (works from the command line; fails from xsp2). On Fri, 2006-09-22 at 12:32 -0400, Brown, Robert wrote: > Have you tried specifying the port in the connection string? -- L

[Mono-list] ASP.NET and MySQL

2006-09-22 Thread Loren Bandiera
ionString settings) [0x0] at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0] I'm at a loss for why it works from the command line but not from within an ASP page. It's the same connection string, server, etc. Anyone seen this behavior before? Got any suggestions? -- Lore

Re: [Mono-list] setting combobox from gconf value

2006-09-09 Thread Loren Bandiera
a combobox built with stetic. > > Any ideas or examples? > > thanks. > > -- > Rob -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Questions about writing an XML document

2006-05-09 Thread Loren Bandiera
Hi Andreas, > > Loren Bandiera schrieb: >> >> To create it, I've tried doing something like this: >> >> XmlDocument xmlDoc = new XmlDocument (); >> xmlDoc.AppendChild (xmlDoc.CreateNode >> (XmlNodeType.XmlDeclaration,"","

Re: [Mono-list] Questions about writing an XML document

2006-05-09 Thread Loren Bandiera
hi Eno Yeah that makes it better. Thanks again! -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Questions about writing an XML document

2006-05-09 Thread Loren Bandiera
now. Although I'm not sure what the 'd1p1' part is coming from. That's just part of the workaround I guess? Thanks for your help! -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Questions about writing an XML document

2006-05-09 Thread Loren Bandiera
tells me I'm not going in the right direction but I haven't had luck finding any proper examples. I've seen the XmlNamespaceManager class and tried to use it. I can add namespaces but when I write out the document, they are not listed at all. If anyone has any suggestion

Re: [Mono-list] Referencing a webservice

2006-02-24 Thread Loren Bandiera
ervice at run time > instead of during compile time. I am thinking it would be a late bound > object but dont know how to go about doing it. If someone has the answer > or a reference to some docs that would be great. > -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc.

Re: [Mono-list] Books/Resources: Design Pattern Framework

2006-01-20 Thread Loren Bandiera
f I should purchase it. I could use help in > design patterns though. > -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Books/Resources: Design Pattern Framework

2006-01-20 Thread Loren Bandiera
s anyone bought this? > Design Pattern Framework > http://dofactory.com/Framework/Framework.aspx > > Looks like a great resource for design patterns especially targeted > for C# but I'm not sure If I should purchase it. I could use help in > design patterns though. > --

[Mono-list] Novell.Directory.Ldap broken in 1.1.10?

2005-11-12 Thread Loren Bandiera
:resultCodeToString () in <0x000aa> Novell.Directory.Ldap.LdapException:getExceptionString (System.String exception) in <0x00021> Novell.Directory.Ldap.LdapException:ToString () -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Regular expressions help

2005-10-11 Thread Loren Bandiera
ome of the other solutions to this problem and see what they do: http://www.jwz.org/hacks/mork.pl http://off.net/~mhoye/moz/demork.py But that didn't really help. Does anyone have any suggestions on how I can extract that value data ("<(key=value)(...)>") from the string?

Re: [Mono-list] Processname

2005-10-09 Thread Loren Bandiera
lick on the mouse, > select run with other program, select mono and job's done. I then just > run the exe as normal (okay, it only works for graphic executables...) > > TTFN > > Paul -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. ___

Re: [Mono-list] Novell.Directory.Ldap Custom SSL Handler Patch

2005-09-05 Thread Loren Bandiera
On a positive note there were recent discussions on the list about > maintaining the Novell.Directory.Ldap assembly - maybe things will get > better soon... That would be cool. I guess I'll just have to wait for now. -- Loren Bandiera <[EMAIL PROTECTED]> MMG Security, Inc. __

[Mono-list] Novell.Directory.Ldap Custom SSL Handler Patch

2005-09-03 Thread Loren Bandiera
nd (ldapUser, ldapPass); Console.WriteLine(" SSL Bind Successfull"); conn.Disconnect(); } catch (Exception e) { Console.WriteLine (e.Message); } [1] - http://forge.novell.com/modules/xfmod/tracker/index.php?func=detail&aid=1233&group_id=1318&at

RE: [Mono-list] Certificate Store / LDAP

2005-06-01 Thread Loren Bandiera
ys)-> which imports the certificate > * Yes (this time only)-> only accept the certificate for this session > * No -> cancel the connection (that should be the > default) > That's a really good idea, I'll definately use that approach. Thanks fo

[Mono-list] Certificate Store / LDAP

2005-06-01 Thread Loren Bandiera
way to do want I want?? Anyone got any suggestions? [1; cheap plug] - http://people.mmgsecurity.com/~lorenb/lat/ -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Help with Threading

2004-09-29 Thread Loren Bandiera
ThreadingTest (); tt.Start (); } } -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Mono.Posix.Syscall.getpwnam patch

2004-09-20 Thread Loren Bandiera
hensive Operating System, which has been renamed to GCOS when GE's large systems division was sold to Honeywell.Dennis Ritchie has reported: "Sometimes we sent printer out- put or batch jobs to the GCOS machine. The gcos field in the password file was a place to stash the inform

Re: [Mono-list] Re: Mono.Posix.Syscall

2004-09-17 Thread Loren Bandiera
hy flowing? > >I think I would like to move these classes into a different class, > not Syscall, as these are not syscalls. > -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - [EMAIL PROTEC

[Mono-list] System.Diagnostics.Process

2004-09-15 Thread Loren Bandiera
ss can only get process information for the current Mono shared memory space. That would make System.Diagnostics.Process un-usable for what I need to do. The bug report implies this can't be fixed due to dependency issues. Is that correct? -- Loren Bandiera, CISSP <[EMAIL PROTEC

Re: [Mono-list] Mono.Posix.Syscall

2004-09-15 Thread Loren Bandiera
t; > Why is the "Syscall" namespace there anyway? Couldn't everything just be > in "Mono.Posix"? > I don't know the history behind it, but if there is an agreement to change Syscall, I'd be willing to change my code to be in Mono.Posix. I was just trying

[Mono-list] Mono.Posix.Syscall.getpwnam patch

2004-09-14 Thread Loren Bandiera
cluded Changelog I think that covered all the comments/suggestions. -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. mono-posix-getpwnam.tgz Description: application/compressed-tar

Re: [Mono-list] Mono.Posix.Syscall

2004-09-14 Thread Loren Bandiera
posted an updated patch a few minutes ago) although I didn't use getpwnam_r. One more thing to update :) Thanks for the feedback! -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Mono.Posix.Syscall.passwd patch

2004-09-14 Thread Loren Bandiera
g me with my testing issues. -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. mono-posix-getpwnam.tgz Description: application/compressed-tar

Re: [Mono-list] Mono.Posix.Syscall

2004-09-14 Thread Loren Bandiera
l > > Jackson -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Mono.Posix.Syscall

2004-09-14 Thread Loren Bandiera
ocal?) If so, did I miss something? Or what is the recommended way to this? -- Loren Bandiera, CISSP <[EMAIL PROTECTED]> MMG Security, Inc. mcs-Mono.Posix.patch Description: Binary data mono-getpwent.patch Description: Binary data