Details
-
Type:
Wish
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: XML schema support
-
Labels:None
-
Number of attachments :
Description
It would be extremely useful if the xml schema Particle class recorded details of the document location from which it was obtained. This would allow users of the castor xml schema library to give precise information regarding the source location of various aspects of the schema. At present, it is only possible to give the namespace and name for a particle (e.g. element declaration). This severely limits the usefulness of the xml schema library in several use cases, particularly relating to semantic validation and editing of schema documents.
The ComponentReader already has all the information required in the _documentLocator field. This just needs setting on all particles when they are created.
Feel like provinding us with a patch initially ?