#6956 closed defect (fixed)
GMLAS: false positive warning in validation mode for ignored optional attributes
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.2 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | gmlas |
Cc: |
Description
With VALIDATION=YES open option, a document that uses a schema with an attribute that has use="optional" and a default value, and whose XPath is set in the IgnoredXPaths of the configuration file will report a warning.
Typically the case with swe:Quantity/@optional
Warning 1: Attribute with xpath=gwml2w:GW_GeologyLogCoverage/gwml2w:element/gwml2w:LogValue/gwml2w:fromDepth/swe:Quantity/@optional found in document but ignored according to configuration
Note:
See TracTickets
for help on using tickets.
In 39508: