Trying to use xmllint on a profile

Kevin P. Fleming kpfleming at linuxfromscratch.org
Mon Mar 1 15:41:30 PST 2004


Just some thoughts, given my lack of XML knowledge :-)

> 
> --- ALFS-CVS.dtd.orig	2004-02-29 20:17:44.000000000 -0500
> +++ ALFS-CVS.dtd	2004-02-29 20:22:10.000000000 -0500
> @@ -21,12 +21,16 @@
>  <!ENTITY apos   "'"> 
>  <!ENTITY quot   """> 
>  
> -<!ENTITY % ops "configure | copy | download | execute | link | make | mkdir | move | ownership | package | patch | permissions | remove | search_replace | stage | textdump | unpack">
> +<!ENTITY % ops "configure | copy | download | execute | link | make |
> +mkdir | move | ownership | package | patch | permissions | remove |
> +search_replace | stage | textdump | unpack | xi:include">

This would allow "xi:include" any place we allow ops, which means inside 
<package>, <stage>, <then>, <else>, etc. Is this the right thing, or 
should it only be allowed inside <alfs>?

> +<!ELEMENT include        (#PCDATA)>
> +<!ATTLIST include
> +          href           CDATA #IMPLIED>
> +

Does this element need to be called "xi:include", or is the "xi:" prefix 
somehow ignored during validation?



More information about the alfs-discuss mailing list