RE: [nant-dev] XML Line Numbers

2002-06-04 Thread Scott Hernandez
v' > Subject: Re: [nant-dev] XML Line Numbers > > > > Scott Hernandez wrote: > > >My concern about the lines numbers was less about their need (or > >accuracy), and more about the fact that the LocationMap generated errors > >when the document is not fi

Re: [nant-dev] XML Line Numbers

2002-06-04 Thread Ian MacLean
Scott Hernandez wrote: >My concern about the lines numbers was less about their need (or >accuracy), and more about the fact that the LocationMap generated errors >when the document is not file-backed. If we go with the DOM Extensions >then we can check for the IXmlLineInfo interface before we

RE: [nant-dev] XML Line Numbers

2002-06-04 Thread Scott Hernandez
, I'll commit my changes with the altered LocationMap that check for this case. > -Original Message- > From: Ian MacLean > Subject: Re: [nant-dev] XML Line Numbers > Scott Hernandez wrote: > > >We need to do something. This code fails because there is no file >

Re: [nant-dev] XML Line Numbers

2002-06-04 Thread Ian MacLean
Scott wrote > >My docs don't list XPathNavigator as implementing the IXmlLineInfo >interface. The object browser doesn't seem to show it either. Nor does >the IXmlLineInfo overview list any classes other than "XmlTextReader, >XmlValidatingReader" as implementers[1]. > >[1] >http://msdn.microsof

Re: [nant-dev] XML Line Numbers

2002-06-04 Thread Ian MacLean
Scott Hernandez wrote: >We need to do something. This code fails because there is no file >associated with the document. > >XmlDocument doc = new XmlDocument(); >XmlElement project = doc.CreateElement("project"); >XmlElement echo = doc.CreateElement("echo");

RE: [nant-dev] XML Line Numbers

2002-06-04 Thread Scott Hernandez
Lean [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 12:24 PM > To: Gerry Shaw > Cc: 'Scott Hernandez'; 'NantDev' > Subject: Re: [nant-dev] XML Line Numbers > > > > Gerry Shaw wrote: > > >It does seem like a pretty good solutio

Re: [nant-dev] XML Line Numbers

2002-06-04 Thread Ian MacLean
Gerry Shaw wrote: >It does seem like a pretty good solution but what we have does work and >has been tested and isn't causing any problems that I know of. Its also >a lot fewer files. > >Still it's a pretty good sample and I'll likely use it in other >projects. > >Thanks > > > >>A sample jus

RE: [nant-dev] XML Line Numbers

2002-06-03 Thread Gerry Shaw
It does seem like a pretty good solution but what we have does work and has been tested and isn't causing any problems that I know of. Its also a lot fewer files. Still it's a pretty good sample and I'll likely use it in other projects. Thanks > -Original Message- > From: [EMAIL PROTEC