Le lun. 12 déc. 2022 à 23:53, Alex Herbert <alex.d.herb...@gmail.com> a écrit :
>
> Deleting the line:
>
> <?xml-stylesheet type="text/xsl" href="./xdoc.xsl"?>
>
> Works.
>
> I had to do this for the statistics userguide. IIRC the stylesheet was
> empty there so it did not matter. However for math the style sheet
> contains some elements. It includes some styles that do not exist and
> the project.css which is empty apart from an import of a url that does
> not exist. So this minimal xsl may not do anything anyway.
>
> I would drop the <?xml-stylesheet tags and see how the guide renders.

It doesn't seem to hurt.

Thanks,
Gilles

>
> Alex
>
> On Mon, 12 Dec 2022 at 22:33, Gilles Sadowski <gillese...@gmail.com> wrote:
> >
> > Hello.
> >
> > Running
> > $ mvn clean package site
> > [...]
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site)
> > on project commons-math-parent: Error parsing
> > '/home/gilles/gilles/devel/java/apache/commons-math/trunk/src/site/xdoc/userguide/analysis.xml':
> > line [20] Error parsing the model: processing instruction can not have
> > PITarget with reserved xml name (position: IGNORABLE_WHITESPACE seen
> > ...ons and\n   limitations under the License.\n
> > -->\n\n<?xml-stylesheet ... @20:18)
> > [...]
> >
> > Any idea?
> >
> > Regards,
> > Gilles

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

Reply via email to