[CITE-Forum] EXT :Re: Teamengine warnings
Morris, Chuck E (IS)
chuck.morris at ngc.com
Tue May 3 17:52:27 EDT 2011
It would probably be a good idea to explicitly define the instruction in the schema, but I think it works even though it isn't defined there.
Chuck
-----Original Message-----
From: Luis Bermudez [mailto:lbermudez at opengeospatial.org]
Sent: Tuesday, May 03, 2011 4:42 PM
To: Morris, Chuck E (IS)
Cc: Sven Böhme; cite-forum at lists.opengeospatial.org
Subject: Re: [CITE-Forum] EXT :Re: Teamengine warnings
Hi Chuck,
Thanks for responding !
I looked at the schemas: /trunk/apps/engine/resources/com/occamlab/te/schemas/ctl.xsd
and the latest document: 06-124r4 "Compliance Test Language" that had not been published.
I don't see any indication of the use of ctl:warning.
However I see in com.occamlab.te.TECore the following static variables, which I guess match a possible result.
public static final int PASS = 0;
public static final int WARNING = 1;
public static final int CONTINUE = -1;
public static final int INHERITED_FAILURE = 2;
public static final int FAIL = 3;
Do we need to update the schema accordingly ?
Luis
Luis Bermudez, Ph.D.
Director of Interoperability Certification
Open Geospatial Consortium (OGC)
Office: +1 (301) 760-7323 | Fax: +1 (202) 640-4339
http://www.opengeospatial.org/contact
The OGC: Making Location Count...
-----------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review; use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
-----------------------------------
On May 3, 2011, at 10:45 AM, Morris, Chuck E (IS) wrote:
> There is a <ctl:warning/> instruction that you can use instead of <ctl:fail/>. I guess it isn't in the documentation because it was added later.
>
> Chuck
>
>
> From: cite-forum-bounces+chuck.morris=ngc.com at lists.opengeospatial.org [mailto:cite-forum-bounces+chuck.morris=ngc.com at lists.opengeospatial.org] On Behalf Of Sven Böhme
> Sent: Tuesday, May 03, 2011 2:01 AM
> To: Luis Bermudez
> Cc: cite-forum at lists.opengeospatial.org
> Subject: EXT :Re: [CITE-Forum] Teamengine warnings
>
> Dear Luis!
>
> I think that´s not what we are looking for. We create some ctl scripts to test metadata. With the command ctl:fail we create error messages. For example:
>
> <xsl:if test="not($response//gmd:identificationInfo[1]/*/gmd:citation/*/gmd:title/gco:CharacterString)">
> <ctl:message>Resource title must be of type "CharacterString" as described in ISO/TC 221</ctl:message>
> <ctl:fail/>
> </xsl:if>
>
> Is there command like ctl:warning that behaves like fail but creates a simple warning instead.
>
> Regards
> Sven
>
> Am 02.05.2011 17:36, schrieb Luis Bermudez:
> Dear Sven,
>
> In that document section 10.4.2 Encoding, explains configuration of XMLValidatingParser: ignoreWarnings="true|false". Is this what you are looking for ?
>
> Best Regards,
>
> Luis
>
> Luis Bermudez, Ph.D.
> Director of Interoperability Certification
> Open Geospatial Consortium (OGC)
> Office: +1 (301) 760-7323 | Fax: +1 (202) 640-4339
> http://www.opengeospatial.org/contact
>
>
> The OGC: Making Location Count...
>
> -----------------------------------
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review; use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
> -----------------------------------
>
>
>
>
>
> On Apr 28, 2011, at 10:09 AM, Sven Böhme wrote:
>
> Dear list,
>
> we use the TEAMEngine in our own application for compliance testing. We really appreciate your work!
>
> Our question: We like to differ between errors and warnings. Is the a command to issuing a warning? We didn´t find any solution in the official documentation (http://portal.opengeospatial.org/modules/admin/license_agreement.php?suppressHeaders=0&access_license_id=3&target=http://portal.opengeospatial.org/files/?artifact_id=33085)
>
> Best regards
> Sven
>
> --
> --------------------------------------
>
> Dipl.-Geogr. Sven Böhme
>
> boehme at supportgis.de
>
>
> --------------------------------------
>
> CPA Systems GmbH
> Grantham-Allee 2-8
> D-53757 Sankt Augustin
>
> Tel.: +49 (0) 2241 / 25 94 - 24
> Fax.: +49 (0) 2241 / 25 94 - 29
>
>
> www.cpa-systems.de
>
>
> --------------------------------------
> Handelsregister:
> HRB 9706, Amtsgericht Siegburg
>
> Geschäftsführer:
>
> Dr.-Ing. habil. Christoph Averdung
> Dr.-Ing. René Thiele
> Dr.-Ing. Matthias Ellsiepen
>
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
>
>
>
>
>
> --
> --------------------------------------
>
> Dipl.-Geogr. Sven Böhme
> boehme at supportgis.de
>
> --------------------------------------
>
> CPA Systems GmbH
> Grantham-Allee 2-8
> D-53757 Sankt Augustin
>
> Tel.: +49 (0) 2241 / 25 94 - 24
> Fax.: +49 (0) 2241 / 25 94 - 29
>
> www.cpa-systems.de
>
> --------------------------------------
> Handelsregister:
> HRB 9706, Amtsgericht Siegburg
>
> Geschäftsführer:
>
> Dr.-Ing. habil. Christoph Averdung
> Dr.-Ing. René Thiele
> Dr.-Ing. Matthias Ellsiepen
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
More information about the CITE-Forum
mailing list