You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Anton Tagunov <at...@mail.cnt.ru> on 2003/09/05 17:01:57 UTC

Re[2]: Useful error messages

Hello, gentelmen!

>> Furthermore, what about syntax errors in the xml file?  Will
>> I get a line number if I get the new version from CVS?

NJB> James doesn't know anything about XML files; that is entirely within the
NJB> Avalon container.  James only knows about Avalon configuration objects.  It
NJB> might be a useful enhancement to their configuration code if the client
NJB> could query the container for a descriptive location of what defined the
NJB> value, as a logging aid.

Is the

    Configuration.getLocation()

method helpfull here?

Is the

    DefaultConfigurationBuilder.build(
        final InputStream inputStream,
        final String systemId )

version being used with the systemId being supplied?

Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Useful error messages

Posted by Stephen McConnell <mc...@apache.org>.

Anton Tagunov wrote:

>Hello, gentelmen!
>
>  
>
>>>Furthermore, what about syntax errors in the xml file?  Will
>>>I get a line number if I get the new version from CVS?
>>>      
>>>
>
>NJB> James doesn't know anything about XML files; that is entirely within the
>NJB> Avalon container.  James only knows about Avalon configuration objects.  It
>NJB> might be a useful enhancement to their configuration code if the client
>NJB> could query the container for a descriptive location of what defined the
>NJB> value, as a logging aid.
>
>Is the
>
>    Configuration.getLocation()
>
>method helpfull here?
>

Berin committed a couple of changes earlier this week that address a 
problem relating to virtual elements that ensures that we can be a lot 
more consistent about returning a location value.  There is also some 
posts about dealing with the error messages related to virtual element 
references - thats a thread still ongoing.

>Is the
>
>    DefaultConfigurationBuilder.build(
>        final InputStream inputStream,
>        final String systemId )
>
>version being used with the systemId being supplied?
>  
>

Umm, this is just the thing I'm looking for.

Steve.

>Anton
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>For additional commands, e-mail: dev-help@avalon.apache.org
>
>
>  
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org