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

Re: [xml] schema patch



On Tue, Jun 08, 2004 at 04:48:25PM +0200, Kasimier Buchcik wrote:
> 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

  Hum, out of curiosity, how did you implement it ?
My take on this was that I would build a function to check if
an automata A was a subset of an automata B and then compare 
the compiled automata at the end of the Schemas compilation process.
I assume you used a different way

> 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

  okidoc, applied cleanly :-), I just marked a a context attribute as unused
to avoid a gcc warning.

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

  I'm afraid the only solution is to create another range, the simpler
is to start at 3000 and add them after XML_HTTP_UNKNOWN_HOST /* 2022 */,
The good point is that there is still plenty of space for the schemas
validation runtime error (80 or so),

  thanks a lot, this should be in CVS within minutes,

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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