Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8B1B9302 for ; Fri, 16 Mar 2012 16:14:29 +0000 (UTC) Received: (qmail 4068 invoked by uid 500); 16 Mar 2012 16:14:29 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 4022 invoked by uid 500); 16 Mar 2012 16:14:29 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 4009 invoked by uid 99); 16 Mar 2012 16:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 16:14:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 16:14:24 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D71AA2388993; Fri, 16 Mar 2012 16:14:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1301624 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml Date: Fri, 16 Mar 2012 16:14:04 -0000 To: commits@chemistry.apache.org From: jens@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120316161404.D71AA2388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jens Date: Fri Mar 16 16:14:04 2012 New Revision: 1301624 URL: http://svn.apache.org/viewvc?rev=1301624&view=rev Log: deliver more useful types with InMemory server: JPEGEXIF Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml?rev=1301624&r1=1301623&r2=1301624&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml Fri Mar 16 16:14:04 2012 @@ -1,4 +1,3 @@ - + + xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:chem="http://chemistry.apache.org/schemas/TypeDefnitions"> - myTestDocumentType - myTestDocumentType - http://opencmis.org/demo/ - cmis:document - My Test Document Type - TESTDOCTYPE - My Test Document Type - cmis:document - true - true - false - false - true - false - false - false - required - - testProperty - testProperty - A test property - testProperty - Just a string - string - single - readwrite - false - false - false - false - - - testProperty2 - testProperty2 - Another test property - testProperty2 - Another string - string - single - readwrite - false - true - false - false - - default value - - + exifImage + EXIF Image + ns + cmis:document + EXIF Image + EXIF_IMAGE + Image with EXIF tags + cmis:document + true + true + true + true + true + false + true + false + notallowed + + imageWidth + 0x0100 + Image Width + IMAGE_WIDTH + Image Width + + integer + single + oncreate + false + false + true + false + false + + + imageHeight + 0x0101 + Image Height + IMAGE_HEIGHT + Image Height + + integer + single + oncreate + false + false + true + false + false + + + bitsPerSample + 0x0102 + Bits Per Sample + BITS_PER_SAMPLE + Bits Per Sample + + integer + single + oncreate + false + false + true + false + false + + + compression + 0x0103 + Compression + COMPRESSION + Compression Format + + integer + single + oncreate + false + false + true + false + false + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 8 + + + 9 + + + 10 + + + 99 + + + 262 + + + 32766 + + + 32767 + + + 32769 + + + 32770 + + + 32771 + + + 32773 + + + 32809 + + + 32867 + + + 32895 + + + 32896 + + + 32897 + + + 32898 + + + 32908 + + + 32909 + + + 32946 + + + 32947 + + + 34661 + + + 34676 + + + 34677 + + + 34712 + + + 34713 + + + 34715 + + + 34718 + + + 34719 + + + 34720 + + + 65000 + + + 65535 + + + + photometricInterpretation + 0x0106 + Photometric Interpretation + PHOTOMETRIC_INTERPRETATION + Color Format + + integer + single + oncreate + false + false + true + false + false + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 8 + + + 9 + + + 10 + + + 32803 + + + 32844 + + + 32845 + + + 34892 + + + + imageDescription + 0x010e + Image Description + IMAGE_DESCRIPTION + Description + + string + single + readwrite + false + false + true + false + false + + + make + 0x010f + Make + MAKE + Camera Make + + string + single + readwrite + false + false + true + false + false + + + model + 0x0110 + Model + MODEL + Camera Model + + string + single + readwrite + false + false + true + false + false + + + orientation + 0x0112 + Orientation + ORIENTATION + Orientation + + integer + single + readwrite + false + false + true + false + false + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 8 + + + + xResolution + 0x011a + X Resolution + X_RESOLUTION + x-resolution + + decimal + single + readwrite + false + false + true + false + false + + + yResolution + 0x011b + Y Resolution + Y_RESOLUTION + y-resolution + + decimal + single + readwrite + false + false + true + false + false + + + resolutionUnit + 0x0128 + Resolution Unit + RESOLUTION_UNIT + Resolution Unit + + integer + single + readwrite + false + false + true + false + false + + 1 + + + 2 + + + 3 + + + + software + 0x0131 + Software + SOFTWARE + Software + + string + single + readwrite + false + false + true + false + false + + + dateTime + 0x0132 + Modify Date + MODIFY_DATE + Modify Date + + datetime + single + readwrite + false + false + true + false + false + + + artist + 0x013b + Artist + ARTIST + Artist + + string + single + readwrite + false + false + true + false + false + + + yCbCrPositioning + 0x0213 + YCbCrPositioning + YCBCRPOSITIONING + YCbCr Positioning + + integer + single + readwrite + false + false + true + false + false + + 1 + + + 2 + + + + copyright + 0x8298 + Copyright + COPYRIGHT + Copyright Notice + + string + single + readwrite + false + false + true + false + false + + + exposureTime + 0x829a + Exposure Time + EXPOSURE_TIME + Exposure Time + + decimal + single + oncreate + false + false + true + false + false + + + fNumber + 0x829d + F-Number + F-NUMBER + F-Stop Number + + decimal + single + oncreate + false + false + true + false + false + + + exposureProgram + 0x8822 + Exposure Program + EXPOSURE_PROGRAM + Exposure Program + + integer + single + oncreate + false + false + true + false + false + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 8 + + + 9 + + + + isoSpeed + 0x8827 + ISO Speed + ISO_SPEED + ISO Speed Setting + + integer + single + oncreate + false + false + true + false + false + + + gpsLatitude + 0x8825-0x0002 + GPS Latitude + GPS_LATITUDE + GPS Latitude + + decimal + single + readwrite + false + false + true + false + false + + + gpsLatitudeRef + 0x8825-0x0001 + GPS Latitude Ref + GPS_LATITUDE_REF + GPS Latitude Reference (N/S) + + string + single + readwrite + false + false + true + false + false + + N + + + S + + + + gpsLongitude + 0x8825-0x0004 + GPS Longitude + GPS_LONGITUDE + GPS Longitude + + decimal + single + readwrite + false + false + true + false + false + + + gpsLongitudeRef + 0x8825-0x0003 + GPS Longitude Ref + GPS_LONGITUDE_REF + GPS Longitude Reference (W/E) + + string + single + readwrite + false + false + true + false + false + + E + + + W + + + + gpsAltitude + 0x8825-0x0006 + GPS Altitude + GPS_ALTITUDE + GPS Altitude + + decimal + single + readwrite + false + false + true + false + false + + + gpsAltitudeRef + 0x8825-0x0005 + GPS Altitude Ref + GPS_ALTITUDE_REF + GPS Altitude Reference + + string + single + readwrite + false + false + true + false + false + + 0 + + + 1 + + + + selfTimerMode + 0x882b + Self Timer Mode + SELF_TIMER_MODE + Self Timer Mode + + integer + single + readwrite + false + false + true + false + false + + + timeZoneOffset + 0x882a + Time Zone Offset + TIME_ZONE_OFFSET + Time Zone Offset (GMT offset in hours) + + integer + multi + readwrite + false + false + true + false + false + + + dateTimeOriginal + 0x9003 + Date Time Original + DATE_TIME_ORIGINAL + date/time when original image was taken + + datetime + single + readwrite + false + false + true + false + false + + + createDate + 0x9004 + Create Date + CREATE_DATE + date/time digitized + + datetime + single + readwrite + false + false + true + false + false + + + shutterSpeedValue + 0x9201 + Shutter Speed Value + SHUTTER_SPEED_VALUE + shutter speed value + + decimal + single + readwrite + false + false + true + false + false + + + apertureValue + 0x9202 + Aperture Value + APERTURE_VALUE + Aperture Value + + decimal + single + readwrite + false + false + true + false + false + + + brightnessValue + 0x9203 + Brightness Value + BRIGHTNESS_VALUE + Brightness Value + + decimal + single + readwrite + false + false + true + false + false + + + exposureCompensation + 0x9204 + Exposure Compensation + EXPOSURE_COMPENSATION + Exposure Compensation + + decimal + single + readwrite + false + false + true + false + false + + + maxApertureValue + 0x9205 + Max Aperture Value + MAX_APERTURE_VALUE + Max Aperture Value + + decimal + single + readwrite + false + false + true + false + false + + + meteringMode + 0x9207 + Metering Mode + METERING_MODE + metering mode + + integer + single + readwrite + false + false + true + false + false + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 255 + + + + subjectDistance + 0x9206 + Subject Distance + SUBJECT_DISTANCE + subject distance + + decimal + single + readwrite + false + false + true + false + false + + + lightSource + 0x9208 + Light Source + LIGHT_SOURCE + light source value + + integer + single + readwrite + false + false + true + false + false + + + flash + 0x9209 + Flash + FLASH + Flash Setting + + integer + single + readwrite + false + false + true + false + false + + + focalLength + 0x920a + Focal Length + FOCAL_LENGTH + focal length + + decimal + single + readwrite + false + false + true + false + false + + + userComment + 0x9286 + User Comment + USER_COMMENT + user comment + + string + single + readwrite + false + false + true + false + false + + + colorSpace + 0xa001 + Color Space + COLOR_SPACE + color space + + integer + single + readwrite + false + false + true + false + false + + 1 + + + 2 + + + 65533 + + + 65534 + + + 65535 + + + + pixelXDimension + 0xa002 + PixelXDimension + PIXELXDIMENSION + dimension in pixel x + + integer + single + readwrite + false + false + true + false + false + + + pixelYDimension + 0xa003 + PixelYDimension + PIXELYDIMENSION + dimension in pixel y + + integer + single + readwrite + false + false + true + false + false + + + exposureMode + 0xa402 + Exposure Mode + EXPOSURE_MODE + Exposure Mode + + integer + single + readwrite + false + false + true + false + false + + 0 + + + 1 + + + 2 + + + + whiteBalance + 0xa403 + White Balance + WHITE_BALANCE + white balance + + integer + single + readwrite + false + false + true + false + false + + 0 + + + 1 + + + + sceneCaptureType + 0xa406 + Scene Capture Type + SCENE_CAPTURE_TYPE + Scene Capture Type + + integer + single + readwrite + false + false + true + false + false + + 0 + + + 1 + + + 2 + + + 3 + + + + imageUniqueId + 0xa420 + Image Unique Id + IMAGE_UNIQUE_ID + Image Unique Id + + id + single + readwrite + false + false + true + false + false + + + ownerName + 0xa430 + Owner Name + OWNER_NAME + Owner Name + + string + single + readwrite + false + false + true + false + false + + + serialNumber + 0xa431 + Serial Number + SERIAL_NUMBER + serial number + + string + single + readwrite + false + false + true + false + false + + + rating + 0x4746 + Rating + RATING + rating value + + integer + single + readwrite + false + false + true + false + false + + + ratingPercent + 0x4749 + Rating Percent + RATING_PERCENT + rating percent + + integer + single + readwrite + false + false + true + false + false + + + dataPrecision + 0x0000 + Data Precision + DATA_PRECISION + JPEG Data Precision + + integer + single + readwrite + false + false + true + false + false + - - myTestDocumentType2 - myTestDocumentType2 - http://opencmis.org/demo/ - cmis:document - My Test Document Type2 - TESTDOCTYPE2 - My Test Document Type2 - cmis:document - true - true - false - false - true - false - false - false - required - - testProperty - testProperty - A test property - testProperty - Just a string - string - single - readwrite - false - false - false - false - - - testProperty2 - testProperty2 - Another test property - testProperty2 - Another string - string - single - readwrite - false - true - false - false - - default value - - - - \ No newline at end of file +