Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#68 closed defect (fixed)

No validation of wildcards (de: keine Validierung der any-Elemente, -Attribute)

Reported by: susanne.wunsch Owned by: susanne.wunsch
Priority: normal Component: XML Schema Validator
Version: 1.0 Keywords:
Cc: birgit.jaekel

Description

The railML schema defines strict validation of wildcards (any). That means, that each railML file, which contains replaced wildcards, has to be shipped with its XML-Schema declaring the wildcards.

That would mean, that a railML file would be valid, if it contains a minimum of railML elements and a huge amount of wildcard declaration.

Currently wildcards are not validated. They produce errors.

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tps:attributeLists'.

If agreed, the wildcard validation stays disabled, but without errors.

The appropriate feature for lax wildcard validation should be found. How to include the following?

org.apache.xerces.xs.XSWildcard.PC_SKIP

That would mean:

"No constraints at all: the item must simply be well-formed XML."

Change History (3)

comment:1 Changed 5 years ago by susanne.wunsch

  • milestone set to Productive version (V1.0)

comment:2 Changed 5 years ago by susanne.wunsch

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 4 years ago by railML-admin

  • milestone Productive version (V1.0) deleted

Milestone deleted

Note: See TracTickets for help on using tickets.