Current Lire CVS is broken: config-defaults/lire.xml LRCML
Joost van Baal
joostvb at logreport.org
Thu Apr 17 12:01:04 CEST 2003
On Fri, Apr 11, 2003 at 12:52:21PM -0400, Francis J. Lacoste wrote:
> On jeu, 2003-04-10 at 17:00, Joost van Baal wrote:
> [...]
> >
> > joostvb at nagy:~/cv...vice/all/lib/config-spec% make check-xml
> > Checking lire.xml...not determinist
> > not determinist
> > failed
> > ./lire.xml:264: validity error: Content model of list is not
> > determinist: ((lrcsml:summary? , lrcsml:description?) , (lrcsml:boolean
> > | lrcsml:boolean | lrcsml:integer | lrcsml:string | lrcsml:file |
> > lrcsml:executable | lrcsml:directory | lrcsml:select | lrcsml:list)+)
> > </lrcsml:list>
> > ^
> > ./lire.xml:478: validity error: Content model of config-spec is not
> > determinist: (lrcsml:boolean | lrcsml:boolean | lrcsml:integer |
> > lrcsml:string | lrcsml:file | lrcsml:executable | lrcsml:directory |
> > lrcsml:select | lrcsml:list)+
> > </lrcsml:config-spec>
> > ^
> > make: *** [check-xml] Error 1
>
> I don't get this error over here. I'm using xmllint from libxml2
> 2.4.24.
>
> The problem may be related to the fact that LIRE.boolean appears twice
> in each of these content models. I've removed one (this was really an
> error). Validation still works here, so you might try another time on
> your side.
Nope, still error (though a different one now):
joostvb at nagy:~/cv...vice/all/lib/config-spec% make check-xml
Checking lire.xml...failed
./lire.xml:488: validity error: No declaration for attribute name of
element service
<lrcsml:service name="lr_service" section="cron" contexts="job">
^
./lire.xml:488: validity error: No declaration for attribute section of
element service
<lrcsml:service name="lr_service" section="cron" contexts="job">
^
./lire.xml:488: validity error: No declaration for attribute contexts of
element service
<lrcsml:service name="lr_service" section="cron" contexts="job">
^
./lire.xml:488: validity error: No declaration for element service
</lrcsml:service>
^
./lire.xml:500: validity error: No declaration for attribute name of
element command
<lrcsml:command name="lr_filter" section="cron" contexts="job">
^
./lire.xml:500: validity error: No declaration for attribute section of
element command
<lrcsml:command name="lr_filter" section="cron" contexts="job">
^
./lire.xml:500: validity error: No declaration for attribute contexts of
element command
<lrcsml:command name="lr_filter" section="cron" contexts="job">
^
./lire.xml:500: validity error: Element summary is not declared in
command list of possible children
</lrcsml:command>
^
./lire.xml:500: validity error: Element description is not declared in
command list of possible children
</lrcsml:command>
^
./lire.xml:5: validity error: Element config-spec content does not
follow the DTD
Expecting (lrcsml:boolean | lrcsml:integer | lrcsml:string | lrcsml:file
| lrcsml:executable | lrcsml:directory | lrcsml:select | lrcsml:list)+,
got (lrcsml:boolean lrcsml:boolean lrcsml:boolean lrcsml:directory
lrcsml:boolean lrcsml:select lrcsml:select lrcsml:string lrcsml:select
lrcsml:boolean lrcsml:select lrcsml:select lrcsml:integer lrcsml:boolean
lrcsml:boolean lrcsml:boolean lrcsml:select lrcsml:select lrcsml:list
lrcsml:integer lrcsml:string lrcsml:string lrcsml:string lrcsml:select
lrcsml:select lrcsml:executable lrcsml:executable lrcsml:executable
lrcsml:executable lrcsml:executable lrcsml:file lrcsml:file lrcsml:file
lrcsml:file lrcsml:file lrcsml:file lrcsml:file lrcsml:executable
lrcsml:executable lrcsml:executable lrcsml:executable lrcsml:executable
lrcsml:executable lrcsml:directory lrcsml:integer lrcsml:file
lrcsml:file lrcsml:file lrcsml:list lrcsml:list lrcsml:list lrcsml:list
lrcsml:select lrcsml:file lrcsml:service lrcsml:string lrcsml:string
lrcsml:command lrcsml:file lrcsml:file lrcsml:directory )
</lrcsml:config-spec>
^
make: *** [check-xml] Error 1
Running explicitly
joostvb at nagy:~/cv...vice/all/lib/config-spec% \
SGML_CATALOG_FILES="../../../catalog:../xml/dtd/catalog" xmllint \
--catalogs --noout --valid lire.xml
gives exaclty the same output.
I've been fiddling with lire.xml, could someone please get ``service''
and ``command'' defined in lrcsml.dtd?
joostvb at nagy:~/cv...vice/all/lib/config-spec% make check-xml
Checking lire.xml...ok
make distcheck now works:
===========================================================
lire-1.2.1.99-20030417-cvs.tar.gz is ready for distribution
===========================================================
Bye,
Joost
--
. . http://logreport.com/
| '.| /^LogReport$/
| Lire http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20030417/e7a722e3/attachment.bin
More information about the Development
mailing list