[ http://issues.apache.org/jira/browse/XALANJ-1640?page=all ]
Brian Minchau closed XALANJ-1640. --------------------------------- Closing this issue. > xmlns bug using docbook->xhtml xslt on ulink template > ----------------------------------------------------- > > Key: XALANJ-1640 > URL: http://issues.apache.org/jira/browse/XALANJ-1640 > Project: XalanJ2 > Issue Type: Bug > Components: Xalan > Affects Versions: 2.5 > Environment: Operating System: Linux > Platform: PC > Reporter: Corey Jewett > Fix For: 2.7 > > Attachments: d22564.out, d22564.patch.txt, d22564.xml, d22564.xsl > > > The following sample document is my test case: > <?xml version="1.0" encoding="UTF-8"?> > <article> > > <section> > > <para>Sample links > <orderedlist> > <listitem><para><ulink > url="http://xml.apache.org/xalan"/></para></listitem> > <listitem><para><ulink > url="http://xml.apache.org/xalan"></ulink></para></listitem> > <listitem><para><ulink > url="http://xml.apache.org/xalan">Xalan</ulink></para></listitem> > </orderedlist> > </para> > </section> > </article> > Using Xalan-J 2.5.1 docbook 1.61.3 (the latest version) stylesheets I get > variants of the following: > <a ="" target="_top">http://xml.apache.org/xalan</a> > Basically the href attribute name and value, don't exist. If I make the > following change (remove xmlns declaration) to docbook/xhtml/xref.xsl: > 748c748 > < <a xmlns="http://www.w3.org/1999/xhtml"> > --- > > <a> > then I get a valid, with the exception of the empty xmlns attribute, 'a' > element: > <a xmlns="" href="http://xml.apache.org/xalan" > target="_top">http://xml.apache.org/xalan</a> > Unfortunately the empty xmlns craps out Mozilla, but that's another bug for > another project. > Corey -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
