commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [all] building the site?
Date Wed, 01 Mar 2006 14:50:01 GMT
Yes, if the parser knows the URL of the parsed bit, it can resolve 
relative entities...

paul

Phil Steitz wrote:
> IIRC, the problem results from the fact that the entity is referenced
> via a relative path.  Moving to a URL or File reference would require
> either an absolute path or that the resource be loaded from a remote
> URL, which would make offline builds fail.  Could be there is a simple
> trick to make this work?
>
> Phil
>
> On 2/28/06, Paul Libbrecht <paul@activemath.org> wrote:
>   
>> You wouldn't need to read Xerces in any line... you just need to use an
>> org.xml.sax.InputSource which has a properly set system-id.
>> new InputSource(URL) or new InputSource(File) does make it for you.
>>
>> Generally such resolution error happen to be when an
>> InputSource(InputStream) is used for which the parser has no way to
>> resolve a relative file.
>>
>> Maybe that helps ?
>>
>> paul
>>
>> Arnaud HERITIER wrote:
>>     
>>> Hi Phil,
>>>
>>>   Yes, I'll try to find a solution to use maven 1.1 to build the commons.
>>>   I'll certainly need to readd xerces to the core :-( to allow you to use
>>> XML entities.
>>>
>>> cheers
>>>
>>> arnaud
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
>>     
>
>   


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


Mime
View raw message