Bug #5737
closed
Duplicated error message from schema validator
Applies to branch:
11, trunk
Fix Committed on Branch:
11, trunk
Fixed in Maintenance Release:
What's happening in this case is that validateAttributes() is being called twice. The "standard" call is from the ContentValidator handling the specific complex type, but because the element has assertions, a second call is being made, as part of the process of building the tree used for assertion testing. Because of the structure of the validation pipeline, it may be difficult to avoid validating the attributes twice, but perhaps the second call can be done silently, without generating additional error messages.
- Status changed from New to Resolved
- Applies to branch 11, trunk added
- Fix Committed on Branch 11, trunk added
I've fixed this by making AttributeValidator.validateAttributes()
remember the most recent call and return the previous result if called twice to validate the same AttributeMap
.
- % Done changed from 0 to 100
- Fixed in Maintenance Release 12.0 added
Bug issue fix applied in the Saxon 12.0 Major Release.
Leaving this bug marked as Resolved until fix applied
- Fixed in Maintenance Release 11.5 added
Bug applied in the Saxon 11.5 Maintenance release.
- Status changed from Resolved to Closed
Please register to edit this issue
Also available in: Atom
PDF