[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] docs: fix the xml validity errors regarding name and id



On Thu, Sep 16, 2010 at 07:03:04PM +1000, Justin Clift wrote:
> Got sick of seeing the "validity error : ID Objects already defined"
> errors, which this patch addresses.
> ---
>  docs/api.html.in          |    8 ++++----
>  docs/architecture.html.in |    6 +++---
>  docs/downloads.html.in    |    2 +-
>  docs/remote.html.in       |   30 +++++++++++++++---------------
>  docs/storage.html.in      |   16 ++++++++--------
>  docs/uri.html.in          |   24 ++++++++++++------------
>  6 files changed, 43 insertions(+), 43 deletions(-)
> 
> diff --git a/docs/api.html.in b/docs/api.html.in
> index 4b6a529..c9c0c67 100644
> --- a/docs/api.html.in
> +++ b/docs/api.html.in
> @@ -19,7 +19,7 @@
>          <a href="#Remote">Daemon and remote access</a>
>        </li>
>      </ul>
> -    <h2><a name="Objects" id="Objects">Objects exposed</a></h2>
> +    <h2><a name="Objects" id="id-Objects">Objects exposed</a></h2>

I'm fairly sure this will prevent id= attrs ever being matched 
eg, laters links    <a href="#Objects"> will only get resolved
against the name= attributes and not the id= attributes. I
think we should have either name= or id=, but not both.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]