[
https://issues.apache.org/jira/browse/IVY-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182075#comment-16182075
]
Jan Matèrne commented on IVY-1100:
----------------------------------
I checked that with (current) actual Firefox 55.0.3 (64-Bit) on
https://ant.apache.org/ivy/history/latest-milestone/samples/build.xml
Per default the XML is shown as "tree" (more a syntax highlighted source view)
and the xmlns attribute is missing.
When use "show source" the xmlns attribute is present.
This means that this is definitive a FF bug in my opinion ...
I think we should differentiate:
a) plain xml files which are available via http "per accident" and
b) xml snippets part of the documentation.
While b) has to be readable in the browser (with the xmlns:ivy) files in
category a) doesn't have to.
You read the documentation as html files in browser.
For b)-files you have to use an apropriate reader (text reader, xml reader,
graphic, archiver ...)
The easiest thing we could do to provide a "workaround" is placing a
xml-comment before the <project> tag.
"<!-- If you don't see the xmlns:ivy attribute on the project tag, your
viewer/browser is hiding that. Then please view the page source. -->"
> Tutorial has bad ivy build file
> -------------------------------
>
> Key: IVY-1100
> URL: https://issues.apache.org/jira/browse/IVY-1100
> Project: Ivy
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 2.1.0-RC1
> Reporter: Dave Brosius
> Priority: Minor
>
> this link http://ant.apache.org/ivy/history/2.1.0-rc1/samples/build.xml
> shows a sample build.xml file for the tutorial, but is missing the
> xmlns:ivy="antlib:org.apache.ivy.ant"
> in the project tag.
> Making following the tutorial more difficult.
> (sorry if this is a duplicate, couldn't find it)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)