[xml] schema patch



Hi,

Please find attached a small patch for the w3c xml schema processor.

This patch includes the following:

1. Added Schema Component Constraint: Derivation Valid
   (Restriction, Complex) 4.1 - 4.3
2. Added Schema Component Constraint: Derivation Valid (Extension) 1.3
3. Bugfixed function "xmlSchemaBuildCompleteAttributeWildcard",
   since it failed to process more than one <attributeGroup> child.
   Changed it as well to allow better reaction on internal errors.
4. Added some missing function descriptions.

Patch files:

xmlerror.h.diff, xmlschemas.c.diff

Test files:

1. derivation-ok-restriction-4-1-err_0.xsd -
    derivation-ok-restriction-4-1-err_0.xml (reports errors)
2. cos-ct-extends-1-3_0.xsd - cos-ct-extends-1-3_0.xml
3. anyAttr-derive2_0.xsd - anyAttr-derive2_0.xml

Problems:

1. The range to hold all schema xmlParserErrors in the range lower
   to 1800 is exhausted.

  Greetings,

  Kasimier

Attachment: xmlschemas.c.diff
Description: Text Data

Attachment: anyAttr-derive2_0.xsd
Description: Text Data

Attachment: cos-ct-extends-1-3_0.xml
Description: Text Data

Attachment: cos-ct-extends-1-3_0.xsd
Description: Text Data

Attachment: derivation-ok-restriction-4-1-err_0.xml
Description: Text Data

Attachment: derivation-ok-restriction-4-1-err_0.xsd
Description: Text Data

Attachment: xmlerror.h.diff
Description: Text Data

Attachment: anyAttr-derive2_0.xml
Description: Text Data



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