You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Phil Steitz <ph...@gmail.com> on 2006/03/01 15:11:33 UTC
Re: [all] building the site?
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 <pa...@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
Re: [all] building the site?
Posted by Paul Libbrecht <pa...@activemath.org>.
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 <pa...@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