Regex: qualifying by not matching a pattern
I have this pattern:
(.[^(?<=d)(?=d)t].*error.*|.{0,2}error.*)and these Strings to match:
1 "dtd validation error"
2 "dtd error"
3 "error"
4 "foobar error"
5 "dt derror"The pattern fails to match #1 and #2, which is good. It succeeds in matching #3 and #4, which is also good. However, it fails to match #5, which is not what I expected.
According to me, the second half of the pattern means find 0, 1 or 2 chars of any type, followed by the word 'error', followed by 0 or more chars of any type. I don't expect #5 to be matched by this one, so that's okay.
However, the first half of the pattern seems to say find one char of any type, followed by a char that is not 't' if prefixed and suffixed with 'd', followed by 0 or more chars of any type, followed by the word 'error', followed by 0 or more chars of any type.
The 't' in #5 is prefixed with a 'd' alright, but it obviously isn't suffixed with a 'd' (as I see it, it's suffixed with a whitespace). How come that the first half of the pattern seems to recognize that it is? Or is there another problem with my expression?
Why not create the opposite pattern? It's easier..
String pattern = ".*dtd.*error.*";
String t1 = "dtd validation error";
String t2 = "dtd error";
String t3 = "error";
String t4 = "foobar error";
String t5 = "dt derror";
System.out.println(!Pattern.matches(pattern, t1));
System.out.println(!Pattern.matches(pattern, t2));
System.out.println(!Pattern.matches(pattern, t3));
System.out.println(!Pattern.matches(pattern, t4));
System.out.println(!Pattern.matches(pattern, t5));/Kaj
Similar Messages
-
String.matches vs Pattern and Matcher object
Hi,
I was trying to match some regex using String.matches but for me it is not working (probably I am not using it the way it should be used).
Here is a simple example:
/* This does not work */
String patternStr = "a";
String inputStr = "abc";
if(inputStr.matches( "a" ))
System.out.println("String matched");
/* This works */
Pattern p = Pattern.compile( "a" );
Matcher m = p.matcher( "abc" );
boolean found = false;
while(m.find())
System.out.println("Matched using Pattern and Matcher");
found = true;
if(!found)
System.out.println("Not matching with Pattern and Matcher");
Am I not matches method of String class properly?
Please throw some lights on this.
Thank you.String.matches looks at the whole string.
bsh % "abc".matches("a");
<false>
bsh % "abc".matches("a.*");
<true> -
How to use AND,OR,NOT condition in Pattern Matching in java
how to use AND,OR,NOT condition in Pattern Matching in java
Please anyone give example..Stop asking these stupid vague questions and do some of your own research.
Start here:
http://www.regular-expressions.info/
http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html -
Match Regular Expression does not match what Match Pattern does
I have read through a lot of posts about how Match Pattern does not match what Match Regular Expression will due to not processing some characters.
However, I found a problem with the other way. A simple Reg-Ex that works in Match Pattern but not Match Regular Expression.
What I have here is just an example. I want to use Match Regular Expression so I can specify some sub-matches.
The reg-ex is for: one or more non-numeric characters, a space, one or more numeric characters. At the start of the string.
How can I get this working in Match Regular Expression? I am working in LabVIEW 2010f2 32 bit. Here is the code snippet and the results:
Rob
Solved!
Go to Solution.Robert Cole wrote:
I think I prefer the ~ for negation since ^ is also used for beginning of the string. But we work with what we have.
Let me offer you a tip and perhaps defend the honor of the regex a little bit. One of my favorite features of regexes is the ability to specify character classes (and their negation). One of the reasons I have to think about the ~ versus ^ is that I rarely use ^ in a regex alternative.
Some examples:
[0-9] = \d (digit)
[^0-9] = \D (not a digit)
The equivalent regex for your case is: \D+ \d+ -
Regex: How do I match only when a string is not entirely numeric?
Hi,
I'm using java regular expression pattern matching. I want to receive a successful pattern-match ONLY when a string is NOT comprised entirely of numeric digits [0-9].
So, for example, when pattern-matching on the following 3 strings,
"abcdef" would return match = true and
"abc123" would return match = true and
"123456" would return match = falseI have tried using the regex pattern [^0-9] but this only seems to work for strings that are one character long. The pattern [^0-9]+ didn't work either.
What I need is the equivalent pattern to [^\d+] (which is an invalid pattern).
Please note that I have to solve this one using regular expressions, even though it would be trivial to solve using straight java code!
Any help much appreciated.What I need is the equivalent pattern to
[^\d+] (which is an invalid pattern).Well as its an invalid pattern, how exactly do you expect us to know what you mean by it?!?
Based on your textual description of what you want, and on the basis that you seem not to want to negate theopposite, how's this (I assume we're talking core Java regex's?):
myString.matches(".*[^\\d].*"); -
Hi Everyone,
I've scoured the forums, as well as external sites, but not finding a solution.
Tried tech support, their ideas didn't pan out. Would greatly appreciate some guidance.
Every time I try to use VPE, the resulting mesh is fine (the dxf), but the PNGs
do not match the drawn planes at all.
For example, I'll use a file from wikimedia. (all images re-compressed for the forum)
I draw the right wall, make sure it is blue, then pull the floor.
Pull the floor and the left wall.
Pull the back ground (hard to see in the compressed image, but it is there).
Pull the ceiling.
The completed planes. Right wall was drawn, remaining were each
pulled out the of the previous plane. All blue. Entire image is covered.
Importing the VPE into After Effects CC. Note the wonky textures.
Here are the actual textures (original PNGs compressed into JPEG for posting).
This is the background piece, note how the section of the image doesn't align at
all with the plane I drew.
Hope this issue is clear to all. The mesh looks fine to me, just the PNGs are off.
I've successfully used the Vanishing Point filter extensively in previous versions of Photoshop.
I'm currently using Photoshop CC on OSX 10.8.4 running on a 15" PowerBook Retina.
I've tried the following to no avail:
differing JPEGs
drawing the floor first
drawing the first surface counter-clockwise and clockwise : )
ensured all planes are blue
disabled graphics acceleration under prefererences
completed uninstalled Photoshop and reinstalled with clean performance/preference settings (did not import any previous settings).removed the "Adobe Photoshop CC Settings" folder as well.
Tried exporting a DXF, again mesh looks great, textures are wrong.
Ideas are appreciated because right now, I'm stuck : )
System Info below:
Adobe Photoshop Version: 14.0 (14.0 20130423.r.221 2013/04/23:23:00:00) x64
Operating System: Mac OS 10.8.4
System architecture: Intel CPU Family:6, Model:58, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 2600 MHz
Built-in memory: 16384 MB
Free memory: 9045 MB
Memory available to Photoshop: 14117 MB
Memory used by Photoshop: 70 %
Image tile size: 1024K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 1.2 (Apr 25 2013 18:32:06)
OpenGL Version: 2.1
Video Rect Texture Size: 16384
OpenGL Memory: 992 MB
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: NVIDIA GeForce GT 650M OpenGL Engine
Display: 1
Main Display
High DPI Monitor
Display Depth: 32
Display Bounds: top=0, left=0, bottom=900, right=1440
Video Renderer ID: 16918087
Video Card Memory: 1024 MB
Serial number: 90970592741803664300
Application folder: /Applications/Adobe Photoshop CC/
Photoshop scratch has async I/O enabled
Scratch volume(s):
Macintosh HD, 373.3G, 65.1G free
Required Plug-ins folder: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.app/Contents/Required/
Primary Plug-ins folder: /Applications/Adobe Photoshop CC/Plug-ins/
Installed components:
adbeape.framework adbeape 3.4.0.29366 0.1160850
AdbeScriptUIFlex.framework AdbeScriptUIFlex 6.3.2.30746 79.535742
adobe_caps.framework adobe_caps 7.0.0.21 1.248010
AdobeACE.framework AdobeACE 2.20.02.30665 79.535293
AdobeAGM.framework AdobeAGM 4.30.19.30830 79.536232
AdobeAXE8SharedExpat.framework AdobeAXE8SharedExpat 3.7.101.18636 66.26830
AdobeAXEDOMCore.framework AdobeAXEDOMCore 3.7.101.18636 66.26830
AdobeBIB.framework AdobeBIB 1.2.03.30665 79.535293
AdobeBIBUtils.framework AdobeBIBUtils 1.1.01 79.535293
AdobeCoolType.framework AdobeCoolType 5.13.00.30665 79.535293
AdobeCrashReporter.framework AdobeCrashReporter 7.0.1
AdobeExtendScript.framework AdobeExtendScript 4.5.5.30746 79.535742
AdobeJP2K.framework AdobeJP2K 1.2.2.29712 79.248139
AdobeLinguistic.framework 19061
AdobeMPS.framework AdobeMPS 5.8.1.30604 79.535029
AdobeOwl.framework AdobeOwl 5.0.13 79.533484
AdobePDFL.framework AdobePDFL 10.0.1.30505 79.499517
AdobePDFSettings.framework AdobePDFSettings 1.4
AdobePIP.framework AdobePIP 7.0.0.1768
AdobeScCore.framework AdobeScCore 4.5.5.30746 79.535742
AdobeUpdater.framework AdobeUpdater 6.0.0.1452 "52.338651"
AdobeXMP.framework AdobeXMPCore 79.151481 79.151481
AdobeXMPFiles.framework AdobeXMPFiles 79.151481 79.151481
AdobeXMPScript.framework AdobeXMPScript 79.151481 79.151481
ahclient.framework ahclient 1.8.0.31
aif_core.framework AdobeAIF 5.0.00 79.534508
aif_ocl.framework AdobeAIF 5.0.00 79.534508
aif_ogl.framework AdobeAIF 5.0.00 79.534508
AlignmentLib.framework xcode Copyright © 2013 Adobe Systems Incorporated
amtlib.framework amtlib 7.0.0.169
boost_date_time.framework boost_date_time 7.0.0.0
boost_signals.framework boost_signals 7.0.0.0
boost_system.framework boost_system 7.0.0.0
boost_threads.framework boost_threads 7.0.0.0
Cg.framework NVIDIA Cg
CIT.framework CIT 2.1.6.30158 151334
CITThreading.framework CITThreading 2.1.6.30158 151334
dvaaudiodevice.framework dvaaudiodevice 7.0.0.0
dvacore.framework dvacore 7.0.0.0
dvamarshal.framework dvamarshal 7.0.0.0
dvamediatypes.framework dvamediatypes 7.0.0.0
dvaplayer.framework dvaplayer 7.0.0.0
dvatransport.framework dvatransport 7.0.0.0
dvaunittesting.framework dvaunittesting 7.0.0.0
dynamiclink.framework dynamiclink 7.0.0.0
FileInfo.framework FileInfo 79.151561 79.151561
filter_graph.framework AdobeAIF 5.0.00 79.534508
ICUConverter.framework ICUConverter 3.61 "gtlib_3.0" "." "16615"
ICUData.framework ICUData 3.61 "gtlib_3.0" "." "16615"
LogSession.framework LogSession 2.1.2.1756
mediacoreif.framework mediacoreif 7.0.0.0
patchmatch.framework AdobePatchMatch 1.1.00.1 1.
PlugPlugOwl.framework PlugPlugOwl 4.0.1.34
UpdaterNotifications.framework UpdaterNotifications 7.0.1.102 "7.0.1.102"
WRServices.framework
Required plug-ins:
3D Studio 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Accented Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Adaptive Wide Angle 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
Angled Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Average 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “Average.plugin”
Bas Relief 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
BMP 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Camera Raw 8.1 (43), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
Camera Raw Filter 8.1 (43), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
Chalk & Charcoal 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Charcoal 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Chrome 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Cineon 14.0 20130423.r.221 2013/04/23:23:00:00 ©2002-2013 Adobe Systems Incorporated - from the file “Cineon.plugin”
Clouds 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “Clouds.plugin”
Collada DAE 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Color Halftone 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Colored Pencil 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
CompuServe GIF 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Conté Crayon 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Craquelure 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Crop and Straighten Photos 14.0 20130423.r.221 2013/04/23:23:00:00 ©2003-2013 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
Crop and Straighten Photos Filter 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Crosshatch 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Crystallize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Cutout 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Dark Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
De-Interlace 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Dicom 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “dicom.plugin”
Difference Clouds 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “Clouds.plugin”
Diffuse Glow 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Displace 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Dry Brush 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Eazel Acquire 14.0 20130423.r.221 2013/04/23:23:00:00 ©1997-2013 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
Embed Watermark NO VERSION - from the file “DigiSign.plugin”
Entropy 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Extrude 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
FastCore Routines 14.0 20130423.r.221 2013/04/23:23:00:00 ©1990-2013 Adobe Systems Incorporated - from the file “FastCore.plugin”
Fibers 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Film Grain 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Filter Gallery 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Flash 3D 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Fresco 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Glass 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Glowing Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Google Earth 4 KMZ 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Grain 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Graphic Pen 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Halftone Pattern 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
HDRMergeUI 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
IFF Format 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Ink Outlines 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
JPEG 2000 14.0 20130423.r.221 2013/04/23:23:00:00 ©2001-2013 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
Kurtosis 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Lens Blur 14.0, Copyright © 2002-2013 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
Lens Correction 14.0, Copyright © 2002-2013 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
Lens Flare 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Liquify 14.0, Copyright © 2001-2013 Adobe Systems Incorporated - from the file “Liquify.plugin”
Matlab Operation 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
Maximum 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Mean 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Measurement Core 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
Median 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Mezzotint 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Minimum 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
MMXCore Routines 14.0 20130423.r.221 2013/04/23:23:00:00 ©1990-2013 Adobe Systems Incorporated - from the file “MMXCore.plugin”
Mosaic Tiles 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Multiprocessor Support 14.0 20130423.r.221 2013/04/23:23:00:00 ©1990-2013 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
Neon Glow 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Note Paper 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
NTSC Colors 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
Ocean Ripple 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Oil Paint 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
OpenEXR 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Paint Daubs 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Palette Knife 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Patchwork 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Paths to Illustrator 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
PCX 14.0 20130423.r.221 2013/04/23:23:00:00 ©1989-2013 Adobe Systems Incorporated - from the file “PCX.plugin”
Photocopy 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Photoshop 3D Engine 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
Picture Package Filter 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
Pinch 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Pixar 14.0 20130423.r.221 2013/04/23:23:00:00 ©1989-2013 Adobe Systems Incorporated - from the file “Pixar.plugin”
Plaster 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Plastic Wrap 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
PNG 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Pointillize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Polar Coordinates 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Portable Bit Map 14.0 20130423.r.221 2013/04/23:23:00:00 ©1989-2013 Adobe Systems Incorporated - from the file “PBM.plugin”
Poster Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Radial Blur 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Radiance 14.0 20130423.r.221 2013/04/23:23:00:00 ©2003-2013 Adobe Systems Incorporated - from the file “Radiance.plugin”
Range 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Read Watermark NO VERSION - from the file “DigiRead.plugin”
Reticulation 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Ripple 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Rough Pastels 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Save for Web 14.0, Copyright © 1999-2013 Adobe Systems Incorporated - from the file “Save for Web.plugin”
ScriptingSupport 13.0, Copyright © 2013 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
Shake Reduction 14.0, Copyright © 2013 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
Shear 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Skewness 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Smart Blur 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Smudge Stick 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Solarize 14.0 20130423.r.221 2013/04/23:23:00:00 ©1993-2013 Adobe Systems Incorporated - from the file “Solarize.plugin”
Spatter 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Spherize 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Sponge 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Sprayed Strokes 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Stained Glass 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Stamp 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Standard Deviation 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
STL 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Sumi-e 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Summation 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Targa 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Texturizer 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Tiles 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Torn Edges 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Twirl 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Underpainting 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Vanishing Point 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
Variance 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “statistics.plugin”
Water Paper 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Watercolor 14.0, Copyright © 1991-2013 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Wave 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Wavefront|OBJ 14.0 20130423.r.221 2013/04/23:23:00:00 ©2006-2013 Adobe Systems Incorporated - from the file “U3D.plugin”
Wind 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Wireless Bitmap 14.0 20130423.r.221 2013/04/23:23:00:00 ©1989-2013 Adobe Systems Incorporated - from the file “WBMP.plugin”
ZigZag 14.0, Copyright © 2003-2013 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Kuler
Adobe Exchange
Installed TWAIN devices: NONEGOT IT!!!!
After we eliminated Adobe settings, and the software, I started wondering what's outside that could be affecting VPE.
It's the resolution of the screen! I have a MBP Retina.
Using SetResX, I cranked the resolution of my screen from the default retina 1440 x 900 to the hardware's native res of 2880 x 1800.
THIS FIXED IT.
The resulting PNGs from the export perfectly match the planes (DXF Mesh).
So, I'm asserting that there may be a bug in the current release of PS CC where it is not compatible with the default retina resolution on the MacBook Pro. -
Hello World,
I have this remote server that used to be a sms 2003 secondary site server. We uninstalled the SMS role. And used the server as an SCCM remote distribution point. We also want to install an client agent on that server machine. But no mather how i try
to install the client i always see the same error in ccmsetup.log:
File download 100% complete (17847296 of 17847296 bytes). ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Download complete. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Successfully downloaded client files. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Searching for available transform ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Failed to find resource file 'client.mst' ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
No transform available for this locale. Installation will proceed with no transformation. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Updated security on object C:\WINDOWS\system32\ccmsetup\. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
An MP exists on this machine. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
The client version 4.00.6487.2000 does not match the MP version 2.50.4253.3000. The client will not be installed. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
A Fallback Status Point has not been specified. Message with STATEID='318' will not be sent. ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
Deleted file C:\WINDOWS\system32\ccmsetup\WindowsServer2003-KB923845-x86-ENU.exe.download ccmsetup 8/18/2010 9:17:18 AM 9916 (0x26BC)
I think the installer finds some remenance of the old SMS_MP. When looking i found some remains in IIS . I tried to remove the remains but still have the same error when installing the client. I uninstalled IIS completly. Can someone tell me where the client
installer looks for the MP version? Would it help if i installed an SCCM MP on that server and the uninstalled it (Upgrade the MP)?Hello Kent, i ran the ccmclean.exe from the SMS2003 Toolkit. It informed me that my system was cleaned. I ran the sccm client setup manualy and found this in the ccmsetup.log
MSI PROPERTIES are SMSSITECODE=AUTO CCMHTTPPORT="80" CCMHTTPSPORT="443" INSTALL=ALL ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
IsFileMicrosoftTrusted Verified file 'C:\WINDOWS\system32\ccmsetup\{4CD82FBB-0AFC-4864-A089-15364DF5F14B}\client.msi' is MS signed. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
Running installation package
Package: C:\WINDOWS\system32\ccmsetup\{4CD82FBB-0AFC-4864-A089-15364DF5F14B}\client.msi
Log: C:\WINDOWS\system32\ccmsetup\client.msi.log
Properties: SMSSITECODE=AUTO CCMHTTPPORT="80" CCMHTTPSPORT="443" INSTALL=ALL ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: INSTALL. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder.12C909B6_5F69_4C4D_8EC3_C225C1607933. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder.A6940213_CD40_4753_8BA2_E803376DECC3. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder.F65FD590_5BEA_48BE_8408_26F7244E8B61. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: WindowsFolder.8AE6A59B_5597_4D75_9BFD_7F566BF56500. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder.98C5B086_7EB0_422A_B0A8_674010F525CD. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SystemFolder.4C5E03E8_F8E5_47CB_8FF4_E46FE34D35A6. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: System64Folder.597B26B2_B5D6_40FF_90DA_B8E672626B1D. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: System64Folder.541D9CA5_CE53_4DCE_903A_9B9E5A6EF2C6. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:21: SmsCheckConfig. ccmsetup 8/18/2010 10:48:21 AM 3140 (0x0C44)
MSI: Action 10:48:22: SMSValidateClientInstallStamp. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: LaunchConditions. Evaluating launch conditions ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: SmsDetectWindowsEmbeddedFBWF. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: SmsCheckNewRemoteTools. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: AppSearch. Searching for installed applications ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: CCPSearch. Searching for qualifying products ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: RMCCPSearch. Searching for qualifying products ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: ValidateProductID. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: CcmSetInstallDir. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: BCDSetX64Dir. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: CcmSetInstallDirFromCmdLine. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: CcmSetPrimaryFolder. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: FindRelatedProducts. Searching for related applications ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: Action 10:48:22: SmsDetectInvalidOrderColocUpgrade. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
MSI: An older version of the SMS Management Point is installed. Please upgrade the Management Point before attempting to upgrade the client. ccmsetup 8/18/2010 10:48:22 AM 3140 (0x0C44)
Installation failed with error code 1603 ccmsetup 8/18/2010 10:48:23 AM 3140 (0x0C44)
Next retry in 120 minute(s)... ccmsetup 8/18/2010 10:48:23 AM 3140 (0x0C44)
Their must be something remaining that ccmclean can't find or can' access so i ran ccmclean /mp. This did some stuff and told me the system was clean again. I reran the client setup.
Guess what
It worked !
Thanxs Kent -
I am trying to configure a Cisco RV120W wireless using RADIUS. The IAS server is Windows 2003. The wireless client can’t access the wireless. The ISA server keeps getting this error: Event Type: Warning Event Source: IAS Event Category: None Event ID: 2 User: N/A Computer: DEVICES1 Description: User ntdomain\blin was denied access. Fully-Qualified-User-Name = chicagotech.org/Users/Bob Lin NAS-IP-Address = 10.0.30.102 NAS-Identifier = Called-Station-Identifier = Calling-Station-Identifier = Client-Friendly-Name = RV102-Domain Client-IP-Address = 10.0.30.102 NAS-Port-Type = NAS-Port = Proxy-Policy-Name = Use Windows authentication for all users Authentication-Provider = Windows Authentication-Server = Policy-Name = CBG-All Authentication-Type = EAP EAP-Type = Reason-Code = 70 Reason = The user attempted to connect using a dial-in medium that did not match the restricted dial-in media. Check the dial-in constraints for the matching remote access policy. The public wireless and WPA2 work fine. Other Cisco 1240 wireless works fine with this event: Event Type: Information Event Source: IAS Event Category: None Event ID: 1 Date: 10/18/2013 Time: 1:33:19 PM User: N/A Computer: DEVICES1 Description: User blin was granted access. Fully-Qualified-User-Name = chicagotech.org/Users/Bob Lin NAS-IP-Address = 10.0.20.103 NAS-Identifier = WLC2504 Client-Friendly-Name = WLC2504 Client-IP-Address = 10.0.20.103 Calling-Station-Identifier = 90-18-7c-e6-95-aa NAS-Port-Type = Wireless - IEEE 802.11 NAS-Port = 1 Proxy-Policy-Name = Use Windows authentication for all users Authentication-Provider = Windows Authentication-Server = Policy-Name = CBG-All Authentication-Type = PEAP EAP-Type = Secured password (EAP-MSCHAP v2) Can you help?
Dear Customer,
Thank you for reaching the Small Business Support Community.
The RADIUS configuration settings are intended to authenticate the wireless clients attempting to connect through a SSID and if this is the problem you have, I first suggest you to check on the RADIUS server IP address (Security>RADIUS Server), make sure it is reachable, and the authentication port number used by this server to send traffic and the shared key used to authenticate to the server which must match on both sides. If all that is good, try using WAP Enterprise as the wireless security method and not WAP2 Enterprise.
If the problem persits I then first suggest to to make sure you run the latest firmware release version 1.0.5.6;
http://software.cisco.com/download/release.html?mdfid=282981372&flowid=796&softwareid=282487380&release=1.0.5.6&relind=AVAILABLE&rellifecycle=&reltype=latest
Then contact support if the problem persists; (the "dial-in medium" part error I just don't understand what it has to do with the RADIUS wireless client authentication);
https://supportforums.cisco.com/community/netpro/small-business/sbcountrysupport
Please do not hesitate to reach me back if there is any further assistance I may assist you with in the meantime.
Kind regards,
Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer
*Please rate the Post so other will know when an answer has been found. -
In CSM map, can we configure a url not match?
Hello! Expert,
Seems we can only configure the url match by "match protocol http url /a/b/*" in CSM, but wonderring if we can configure "not match protocol http url /a/b/*"? checked the docs, could not find the Regular Expression in CSM has "not match" or "!" pattern. However, in our J2EE env. we really need this kind of configuration. Thans, Q.XieThx Gilles for your feedback, but I don't think this 2 policies method will work for us. The 2nd policy "match any" just likes our default serverfarm. Seems it's hard for me to describe what exactly the issue we have. Could you or some one tell me directly if there is a "not match pattern" in CSM map implementation?
Thx, Q.Xie -
ORA-19007: Schema - does not match expected T0090.xsd for non xsd owner
I have registered an xsd in /home/divload/xsd/T0090.xsd. User "prmt" is the owner of this resource. User prmt can schemavalidate xml against this xsd just as it is now. However, I have package code in "prmt_app" user account that will actually do the schemavalidate - not prmt user. When I run the exact same code using the exact same xml with the T0090.xsd above I am getting ORA-19007: Schema - does not match expected T0090.xsd. prmt_app has "all" privs on "/home", "/home/divload", "/home/divload/xsd", and "/home/divload/xsd/T0090.xsd". What am I missing?
XSD header info
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="T0090" xdb:defaultTable="T0090">
...XML header info
<?xml version="1.0" encoding="ISO-8859-1"?>
<T0090 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="T0090.xsd">
<PERMIT>
...The error occurs when I am inserting into this table off disk..
create table prmt.cview_xml (filename varchar2(256), xmldoc xmltype) xmltype xmldoc xmlschema "T0090.xsd" element "T0090";
Edited by: Mark Reichman on Jun 28, 2010 2:42 PMI did all that before posting the orignial post..
declare
v_schema_exists varchar2(1) := 'N';
res boolean;
schemaURL varchar2(100) := 'T0090.xsd';
schemaPath varchar2(100) := '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
begin
begin
select 'Y'
into v_schema_exists
from sys.all_xml_schemas -- changed from user_xml_schemas
where schema_url = schemaURL;
dbms_xmlSchema.deleteSchema(schemaURL,4);
exception
when NO_DATA_FOUND then
null;
end;
if (dbms_xdb.existsResource(schemaPath)) then
dbms_xdb.deleteResource(schemaPath);
end if;
res := dbms_xdb.createResource(schemaPath,xmlSchema);
dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
end;
/ I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
Edited by: Mark Reichman on Jul 2, 2010 9:09 AM -
URLs not matching the mappings I set in web.xml
Below is what I observe, I would have expected the URL to match all 3 but it only matches for the first one , any ideas?
Web.xml contains
<filter>
<filter-name>MyFilter</filter-name>
<filter-class>HWfilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
http://localhost/Chapter7/test.txt - URL matches filter
Web.xml contains
<filter>
<filter-name>MyFilter</filter-name>
<filter-class>HWfilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
http://localhost/Chapter7/test.txt - URL DOES NOT match filter
Web.xml contains
<filter>
<filter-name>MyFilter</filter-name>
<filter-class>HWfilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/*.txt</url-pattern>
</filter-mapping>
http://localhost/Chapter7/test.txt - URL DOES NOT match filter
----------------------------------------------------------------I found this in the Servlet API specification:
� A string beginning with a �/� character and ending with a �/*� postfix is used
for path mapping.
� A string beginning with a �*.� prefix is used as an extension mapping.
� A string containing only the �/� character indicates the "default" servlet of the
application. In this case the servlet path is the request URI minus the context
path and the path info is null.
� All other strings are used for exact matches only.
According to this, your third one should work if you remove the / and just have *.txt. -
The RADIUS request did not match any configured connection request policy (CRP)
I setup NPS server and added a RADIUS Client access point, my project is to get a wireless user to authenticate using his/her AD credientials, my problem is i can't seem to authenticate my user
my NPS server is giving me this error log under Event Viewer > Server Logs > Network Policy and Access Services
Reason: The RADIUS request did not match any configured connection request policy (CRP).
but from my understanding i don't need to setup Connection Request Policies because i am using Network Policy
Please Help!thanks for your reply, i setup a new NPS policy here is my error log
Network Policy Server denied access to a user.
Contact the Network Policy Server administrator for more information.
User:
Security ID: NULL SID
Account Name: csdomain\rsingh
Account Domain: csdomain
Fully Qualified Account Name: csdomain\rsingh
Client Machine:
Security ID: NULL SID
Account Name: -
Fully Qualified Account Name: -
OS-Version: -
Called Station Identifier: 0026.992f.6761
Calling Station Identifier: 2477.0392.b0f8
NAS:
NAS IPv4 Address: 192.50.2.2
NAS IPv6 Address: -
NAS Identifier: MYWAP
NAS Port-Type: Wireless - IEEE 802.11
NAS Port: 35290
RADIUS Client:
Client Friendly Name: MYWAP
Client IP Address: 192.50.2.2
Authentication Details:
Connection Request Policy Name: PEAP
Network Policy Name: -
Authentication Provider: Windows
Authentication Server: MYSERVER.csdomain.com
Authentication Type: EAP
EAP Type: -
Account Session Identifier: -
Logging Results: Accounting information was written to the local log file.
Reason Code: 22
Reason: The client could not be authenticated because the Extensible Authentication Protocol (EAP) Type cannot be processed by the server. -
JAXR.UDDI.027: Multiple Schemes matching name pattern
What does that error mean?
I'm trying to browse a UDDI repository using JAXR and I when I execute this line:
ClassificationScheme scheme = bqm.findClassificationSchemeByName(null, "naics");
I get the error identified in the subject.
I think the problem is in the UDDI repository because when I execute the same code on http://uddi.ibm.com/testregistry/inquiryapi the error does not occur.
My problem is, I don't even know what the error means in order to fix the repository. Can someone point me towards an explanation?Studying Monson-Haefel J2EE Webservices, I encountered the same issue multiple times with the IBM test UDDI. The message is accurate: there are multiple schemes with the exact same name in the IBM test UDDI. You can verify this with the following code:
* ClassificationScheme uddi_types = queryMngr
* .findClassificationSchemeByName(null, "uddi-org:types"); gives
* Exception: JAXR.UDDI.027: Multiple Schemes matching name pattern
Collection schemeCollection = queryClassificationSchemesByName(
queryMngr, "uddi-org:types");
printSchemeCollection(schemeCollection);
ClassificationScheme uddi_types = (ClassificationScheme) schemeCollection
.iterator().next();
private static Collection queryClassificationSchemesByName(
BusinessQueryManager queryMngr, String schemeName)
throws JAXRException {
Collection schemeCollection = new HashSet();
schemeCollection.add(schemeName);
BulkResponse bulkResponse = queryMngr.findClassificationSchemes(null,
schemeCollection, null, null);
return bulkResponse.getCollection();
private static void printSchemeCollection(Collection schemCollection)
throws JAXRException {
Iterator schemaIterator = schemCollection.iterator();
while (schemaIterator.hasNext()) {
ClassificationScheme scheme = (ClassificationScheme) schemaIterator
.next();
System.out.println(scheme.getName().getValue() + ", Key: "
+ scheme.getKey().getId());
}My latest result using these functions for the name uddi-org:types is
uddi-org:types, Key: UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4
uddi-org:types, Key: UUID:3AE29440-DF6B-11D5-9094-0004AC49CC1E
uddi-org:types, Key: UUID:1C091CC0-A439-11D8-83B1-000629DC0A53 -
We have got 5.0.2 Plumtree portal, EDK 5.0.2 and .Net Web Controls 2.1.
I am trying to call:
IPortletContext oPortletContext = PortletContextFactory.CreatePortletContext(System.Web.HttpContext.Current.Request, System.Web.HttpContext.Current.Response);
I have attached the error I am getting. Is this related to Open Foundation version? This is quite urgent because we are in the process of trying to get a demo together for grabbing Activity Rights.
Server Error in '/portlets/DOJ/JNET/pretzel.clients.doj.reentry' Application.
The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Assembly Load Trace:The following information can be helpful to determine why the assembly 'openfoundation' could not be loaded.=== Pre-bind state information ===
LOG: DisplayName = openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
(Fully-specified)
LOG: Appbase = file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry
LOG: Initial PrivatePath = bin
Calling assembly : dotnetportlet, Version=3.5.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation/openfoundation.DLL.
LOG: Attempting download of new URL file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry/bin/openfoundation.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
Stack Trace:[FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.]
Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) +0
pretzel.clients.doj.reentry.navigation.Page_Load(Object sender, EventArgs e) in \\devnet2\inetpub\doj\reentry\development\pretzel.clients.doj.reentry\navigation.aspx.cs:22
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.1031; ASP.NET Version:1.1.4322.947I have seen this before after a upgrade of the EDK, found I had to remove the reference in the C# project to the old EDK dll and re add it to the new EDK dll.
Also noticed that you are using the System.Web.HttpContext.Current fully qualified namespace in the CreatePortletContext() call instead of the usual way of PortletContextFactory.CreatePortletContext(Request, Response) this uses the System.Web.HttpRequest.Page namespace by default. -
Hi,
I want to load a XML document in structured XMLType. You can run my code on your database if you have a directory object called LOG_DIR. I am on Oracle 10.1 .
The schema is a simple example which describe a database table(like it will have 1 or more columns and 0 or more indexes). My schema looks like,
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Tables" type="Table">
<xs:annotation>
<xs:documentation>Table defination</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="table_name" type="xs:string"/>
<xs:complexType name="Table">
<xs:sequence>
<xs:element name="Column" type="Column" minOccurs="1"/>
<xs:element name="Index" type="Index" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Column">
<xs:annotation>
<xs:documentation>Column of the table</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="Type" type="xs:string" minOccurs="1"/>
<xs:element name="Capacity" type="xs:decimal" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Index">
<xs:annotation>
<xs:documentation>Index on the table</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="1"/>
<xs:element name="Type" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
I registered the schema,
BEGIN
DBMS_XMLSCHEMA.registerSchema(
SCHEMAURL => 'tables.xsd',
SCHEMADOC => bfilename('LOG_DIR','tables.xsd'),
CSID => nls_charset_id('AL32UTF8')
END;
This was successfull, also the following create table was ok,
CREATE TABLE TMP_XML_TABLES
file_name VARCHAR2(2000),
load_date DATE,
xml_document XMLType
XMLType COLUMN xml_document
XMLSchema "http://xmlns.oracle.com/xdb/schemas/TDB/tables.xsd"
ELEMENT "Tables";
Now I have a XML document,
<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/schemas/TDB/tables.xsd">
<table_name>trades</table_name>
<Column><Name>trade_id</Name><Type>varchar2</Type><Capacity>50</Capacity></Column>
<Column><Name>source</Name><Type>varchar2</Type><Capacity>100</Capacity></Column>
<Column><Name>trade_date</Name><Type>date</Type></Column>
<Column><Name>trader</Name><Type>varchar2</Type><Capacity>200</Capacity></Column>
<Index><Name>trades_pk</Name><Type>btree</Type></Index>
<Index><Name>trades_idx1</Name><Type>bitmap</Type></Index>
</Tables>
When I am trying to load this, I get the error,
SQL> INSERT INTO TMP_XML_TABLES
2 VALUES
3 ('tables1.xml',
4 sysdate,
5 XMLType
6 (
7 bfilename('LOG_DIR','tables1.xml'),
8 nls_charset_id('AL32UTF8')
9 )
10 );
INSERT INTO TMP_XML_TABLES
ERROR at line 1:
ORA-19007: Schema - does not match expected tables.xsd.
Can somebody please explain the cause ???
Thanks and RegardsA quick search of the forum for ORA-19007 should have allowed you to find the answer to your problem. Since you XML Schema does not declare a target namespace you need to use the xsi:noNamespaceSchemaLocation tag rather than the schemaLocation tag..
Also please do not use URLs starting http://xmlns.oracle.com for your schemaLocation hint. If you do no own your own domain I'd suggest example.org...
Finally please make sure that your XML Instance is valid per your XML Schema before posting. You can do this using tools like JDeveloper or XMLSpy. What should have been a 5 min repsonse took me over 20 mins to work through due to the errors in the XML Schema...
Anyway here's a working example for you
SQL>
SQL>
SQL> var schemaURL varchar2(256)
SQL> var schemaPath varchar2(256)
SQL> --
SQL> begin
2 :schemaURL := 'http://xmlns.examples.org/xdb/schemas/TDB/tables.xsd';
3 :schemaPath := '/public/testcase.xsd';
4 end;
5 /
PL/SQL procedure successfully completed.
SQL> DROP TABLE TMP_XML_TABLES
2 /
Table dropped.
SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
2 /
Call completed.
SQL> declare
2 res boolean;
3 xmlSchema xmlType := xmlType(
4 '<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="
tp://xmlns.oracle.com/xdb">
5 <xs:element name="Tables" xdb:defaultTable="TABLES_TABLE">
6 <xs:annotation>
7 <xs:documentation>Table defination</xs:documentation>
8 </xs:annotation>
9 <xs:complexType>
10 <xs:complexContent>
11 <xs:extension base="Table"/>
12 </xs:complexContent>
13 </xs:complexType>
14 </xs:element>
15 <xs:complexType name="Table">
16 <xs:sequence>
17 <xs:element name="table_name" type="xs:string"/>
18 <xs:element name="Column" type="Column" maxOccurs="unbounded"/>
19 <xs:element name="Index" type="Index" minOccurs="0" maxOccurs="unbounded"/>
20 </xs:sequence>
21 </xs:complexType>
22 <xs:complexType name="Column">
23 <xs:annotation>
24 <xs:documentation>Column of the table</xs:documentation>
25 </xs:annotation>
26 <xs:sequence>
27 <xs:element name="Name" type="xs:string"/>
28 <xs:element name="Type" type="xs:string"/>
29 <xs:element name="Capacity" type="xs:decimal"/>
30 </xs:sequence>
31 </xs:complexType>
32 <xs:complexType name="Index">
33 <xs:annotation>
34 <xs:documentation>Index on the table</xs:documentation>
35 </xs:annotation>
36 <xs:sequence>
37 <xs:element name="Name" type="xs:string"/>
38 <xs:element name="Type" type="xs:string" minOccurs="0"/>
39 </xs:sequence>
40 </xs:complexType>
41 </xs:schema>
42 ');
43 begin
44 if (dbms_xdb.existsResource(:schemaPath)) then
45 dbms_xdb.deleteResource(:schemaPath);
46 end if;
47 res := dbms_xdb.createResource(:schemaPath,xmlSchema);
48 end;
49 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_xmlschema.registerSchema
3 (
4 :schemaURL,
5 xdbURIType(:schemaPath).getClob(),
6 TRUE,TRUE,FALSE,TRUE
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> CREATE TABLE TMP_XML_TABLES
2 (
3 file_name VARCHAR2(2000),
4 load_date DATE,
5 xml_document XMLType
6 )
7 XMLType COLUMN xml_document
8 XMLSchema "http://xmlns.examples.org/xdb/schemas/TDB/tables.xsd"
9 ELEMENT "Tables"
10 /
Table created.
SQL> insert into TMP_XML_TABLES values ('testcase1.xml',sysdate,xmltype(
2 '<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/T
/tables.xsd">
3 <table_name>trades</table_name>
4 <Column>
5 <Name>trade_id</Name>
6 <Type>varchar2</Type>
7 <Capacity>50</Capacity>
8 </Column>
9 <Column>
10 <Name>source</Name>
11 <Type>varchar2</Type>
12 <Capacity>100</Capacity>
13 </Column>
14 <Column>
15 <Name>trade_date</Name>
16 <Type>date</Type>
17 </Column>
18 <Column>
19 <Name>trader</Name>
20 <Type>varchar2</Type>
21 <Capacity>200</Capacity>
22 </Column>
23 <Index>
24 <Name>trades_pk</Name>
25 <Type>btree</Type>
26 </Index>
27 <Index>
28 <Name>trades_idx1</Name>
29 <Type>bitmap</Type>
30 </Index>
31 </Tables>'))
32 /
1 row created.
SQL> set long 10000 pages 0 lines 160
SQL> /
1 row created.
SQL> select * from TMP_XML_TABLES
2 /
testcase1.xml
21-APR-06
<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
s.xsd">
<table_name>trades</table_name>
<Column>
<Name>trade_id</Name>
<Type>varchar2</Type>
<Capacity>50</Capacity>
</Column>
<Column>
<Name>source</Name>
<Type>varchar2</Type>
<Capacity>100</Capacity>
</Column>
<Column>
<Name>trade_date</Name>
<Type>date</Type>
</Column>
<Column>
<Name>trader</Name>
<Type>varchar2</Type>
<Capacity>200</Capacity>
</Column>
<Index>
<Name>trades_pk</Name>
<Type>btree</Type>
</Index>
<Index>
<Name>trades_idx1</Name>
<Type>bitmap</Type>
</Index>
</Tables>
testcase1.xml
21-APR-06
<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
s.xsd">
<table_name>trades</table_name>
<Column>
<Name>trade_id</Name>
<Type>varchar2</Type>
<Capacity>50</Capacity>
</Column>
<Column>
<Name>source</Name>
<Type>varchar2</Type>
<Capacity>100</Capacity>
</Column>
<Column>
<Name>trade_date</Name>
<Type>date</Type>
</Column>
<Column>
<Name>trader</Name>
<Type>varchar2</Type>
<Capacity>200</Capacity>
</Column>
<Index>
<Name>trades_pk</Name>
<Type>btree</Type>
</Index>
<Index>
<Name>trades_idx1</Name>
<Type>bitmap</Type>
</Index>
</Tables>Since you are tracking metadata about the documents (name, date loaded) you might want to consider using the XDB repository to load the documents. The folllowing shows how you can do this from SQL and then create a view which contains the metadata and document content. The advantage of this approach is you can now load the documents using FTP or WebDAV.
SQL> declare
2 res boolean;
3 document xmltype := xmltype(
4 '<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/T
/tables.xsd">
5 <table_name>trades</table_name>
6 <Column>
7 <Name>trade_id</Name>
8 <Type>varchar2</Type>
9 <Capacity>50</Capacity>
10 </Column>
11 <Column>
12 <Name>source</Name>
13 <Type>varchar2</Type>
14 <Capacity>100</Capacity>
15 </Column>
16 <Column>
17 <Name>trade_date</Name>
18 <Type>date</Type>
19 </Column>
20 <Column>
21 <Name>trader</Name>
22 <Type>varchar2</Type>
23 <Capacity>200</Capacity>
24 </Column>
25 <Index>
26 <Name>trades_pk</Name>
27 <Type>btree</Type>
28 </Index>
29 <Index>
30 <Name>trades_idx1</Name>
31 <Type>bitmap</Type>
32 </Index>
33 </Tables>');
34 begin
35 res := dbms_xdb.createResource('/public/testcase.xml',document);
36 end;
37 /
PL/SQL procedure successfully completed.
SQL> create or replace view TMP_XML_TABLES_VIEW as
2 select extractValue(res,'/Resource/DisplayName') FILENAME,
3 extractValue(res,'/Resource/CreationDate') LOAD_DATE,
4 object_value XML_DOCUMENT
5 from RESOURCE_VIEW, TABLES_TABLE t
6 where extractValue(res,'/Resource/XMLRef')= ref(t)
7 /
View created.
SQL> select * from TABLES_TABLE
2 /
<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
s.xsd">
<table_name>trades</table_name>
<Column>
<Name>trade_id</Name>
<Type>varchar2</Type>
<Capacity>50</Capacity>
</Column>
<Column>
<Name>source</Name>
<Type>varchar2</Type>
<Capacity>100</Capacity>
</Column>
<Column>
<Name>trade_date</Name>
<Type>date</Type>
</Column>
<Column>
<Name>trader</Name>
<Type>varchar2</Type>
<Capacity>200</Capacity>
</Column>
<Index>
<Name>trades_pk</Name>
<Type>btree</Type>
</Index>
<Index>
<Name>trades_idx1</Name>
<Type>bitmap</Type>
</Index>
</Tables>
SQL> select * from TMP_XML_TABLES_VIEW
2 /
testcase.xml
21-APR-06 02.21.37.031000 PM
<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
s.xsd">
<table_name>trades</table_name>
<Column>
<Name>trade_id</Name>
<Type>varchar2</Type>
<Capacity>50</Capacity>
</Column>
<Column>
<Name>source</Name>
<Type>varchar2</Type>
<Capacity>100</Capacity>
</Column>
<Column>
<Name>trade_date</Name>
<Type>date</Type>
</Column>
<Column>
<Name>trader</Name>
<Type>varchar2</Type>
<Capacity>200</Capacity>
</Column>
<Index>
<Name>trades_pk</Name>
<Type>btree</Type>
</Index>
<Index>
<Name>trades_idx1</Name>
<Type>bitmap</Type>
</Index>
</Tables>
SQL>
SQL>
SQL>
Maybe you are looking for
-
I know my server information. I was told that you have to uncheck the box on the server page that says "this server requires ssl" or "secure connection" Problem I can't find where to do this... Any suggestions
-
IPod nano not charging on Windows XP
My iPod nano won't charge at all, and I have Windows XP. After I plug my nano into my computer via USB, a white screen comes up on the nano that shows a "dead" iPod and the address for the Apple support website. Then the screen goes to the depleted b
-
Creative Cloud desktop app STILL signing out automatically
I realize there are other threads on this, but wanted to chime in and say this is STILL an ongoing issue. And it seems especially worse after the last CC app update. I've lost count of the number of times I've had to sign in today. After watching t
-
Wow a lot of hate going on !!
hi all i've just came in to see if theres a new driver out and check out the forums again and there seems to be a lot of hate going on at the moment. just to add my fifty cents i've had creative cards right from the sb6 through the pci 28,audigy,audi
-
5800 FOTA Server Profile for North America
Anyone in the US able to perform firmware updates over the air on the 5800? If so, what is your server profile? When I bought my phone directly from Nokia, it did not have a server profile.