[lnst trac] #55: XML Schema Definition for LNST Recipe Syntax

lnst trac at fedorahosted.org
Fri May 24 09:07:25 UTC 2013


#55: XML Schema Definition for LNST Recipe Syntax
-----------------------+----------------------
  Reporter:  rpazdera  |      Owner:  olichtne
      Type:  task      |     Status:  assigned
  Priority:  major     |  Milestone:
 Component:  lnst-ctl  |    Version:
Resolution:            |   Keywords:
Blocked By:            |   Blocking:
-----------------------+----------------------
Changes (by olichtne):

 * status:  new => assigned


Comment:

 The problems with the XML Schema resulted in us creating the RelaxNG
 schema instead. The new rng schema is available here:

 https://lists.fedorahosted.org/pipermail/lnst-
 developers/2013-May/001216.html

 You can try to validate your recipe with this schema by using the script
 from Jan that's available here:

 https://lists.fedorahosted.org/pipermail/lnst-
 developers/2013-May/001198.html

 The only limitation that this now has is the usage of the source attribute
 which it can detect and accept but it will not recursively validate the
 referenced files.

 My suggestion would be to use XInclude instead which can be easily parsed
 by for example the lxml parser, and validated afterwards. This will
 however require a rewrite of our current parser so it's a potential future
 feature.

-- 
Ticket URL: <https://fedorahosted.org/lnst/ticket/55#comment:3>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test


More information about the LNST-developers mailing list