Hi,
these errors are thrown on line 384 of ValueStore.cpp. You could
pass additional parameters/ and or change them here. The actual wording of
the message is in xercesc/NLS/EN_US/XMLErrList_EN_US.Xml. You have to run
the xlat tool to regenerate the error messages. If you come up with errors
people agree are better I would be happy to commit them.
Gareth
On Fri, 1 Aug 2003, Matthew Berry wrote:
> Hi,
>
> Is there possibly a easy way to trap and then translate the messages
> produced by schema validation into a more meaningful description?
>
> For example:
>
> <JOB>
> <PORTFOLIO NAME="">
> ,,,,
>
> <CALCULATE USING="">
> ,,,,
> </JOB
>
> -->ERROR: Duplicate key value declared for identity constraint of element
> 'JOB'. (stdin:535:32)
>
> I would prefer something like PORTFOLIO has duplicate NAME
> (key='PK_PortfolioName')
>
> --> ERROR:The key for identity constraint of element 'JOB' is not
> found.(stdin:542:7)
>
> I would prefer some like USING refers to unknown PORTFOLIO
> (keyref="FK_UsingPortfolioName')
>
> Also this seems to report the last line of the file and not the line of the
> XML tag that violated the constraint
>
>
> Many thanks
> Mattt
>
>
> The information in this email and attachments is confidential and intended
> for the attention and use of the named addressee(s). It must not be
> disclosed, distributed, or copied to any other person without APT's written
> consent. If you are not the named addressee(s), or a person responsible for
> delivering it, you are hereby notified that any disclosure, copying,
> distribution or taking any action in relation to the information is strictly
> prohibited and may be unlawful.
>
>
>
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]