Xsd file name space
Hi I am new to XSD, is this file is schema with a namespace or noNamespaceSchemaLocation ?
how to identify it?
do i need to specify f.setNamespaceAware( true ); or false?
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Jason Bridgen (Capita Business Services Ltd) -->
<!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="ADIPRN" type="xs:int"/>
<xs:element name="AddressLine1" type="xs:string"/>
<xs:element name="AddressLine2" type="xs:string"/>
<xs:element name="AddressLine3" type="xs:string"/>
<xs:element name="AddressLine4" type="xs:string"/>
<xs:element name="AddressLine5" type="xs:string"/>
<xs:element name="BookingReference" type="xs:string"/>
<xs:complexType name="CandContactDetailsType">
<xs:sequence>
<xs:element ref="AddressLine1"/>
<xs:element ref="AddressLine2" minOccurs="0"/>
<xs:element ref="AddressLine3" minOccurs="0"/>
<xs:element ref="AddressLine4" minOccurs="0"/>
<xs:element ref="AddressLine5" minOccurs="0"/>
<xs:element ref="PostCode"/>
<xs:element ref="EmailAddress" minOccurs="0"/>
<xs:element ref="DayTelNumber"/>
<xs:element ref="EveTelNumber" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CandPersonalDetailsType">
<xs:sequence>
Hi Suni,
Please generate the XSD for the required ecs file from the document editor. While generating the xsd from ecs file, ensure the select the option for "save guideline" and then use these ecs and xsd files while modelling
Regards,
Dheeraj
Similar Messages
-
I have a question about extracting pages. When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf". Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files. It casues me problems, however, for the space to be the the file name. Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?
No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.
-
Error occured while importing xsd.file(Name contains invalid characters: -
Hello,
i muss import xsd.file. while importing this error occured:
İFMEXTDEF CCTS_CCT_SchemaModule-2.0 | http://example.org/XXX/XXX/OUT/NOZ (SC_NOZ V001 of example.org):
Name contains invalid characters: - .
Only a(A)-z(Z), 0-9, and "_" are permitted
This xsdfile name is CCTS_CCT_SchemaModule-2.0 but PI doesn't accept "-". But i muss use this file because this file is standart. What can i do for this?
Thanks
Nurhan
Edited by: Nurhan on Oct 18, 2011 11:22 AMHI,
PI doestnt support special characters like '-'. first you need to change the file name as you specify '-'. to remove that and you have to give '_'. then uyou have to impot >XSD file into ESR under ExternalDefination.
i hope this will help you.
regards,
ganesh. -
Example of storing a prefix name space xml file in XML DB ?
I have lots of XML file pass to me with prefix name space all over the file. Is there any example of how to stored and retrieved this type of XML file to XML DB?
Example of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<ddms:Resource xmlns:ddms="http://metadata.dod.mil/mdr/ns/DDMS/1.3/" xmlns:ICISM="http://metadata.dod.mil/mdr/ns/DDMS/1.3"
xmlns:gml="http://metadata.dod.mil/mdr/ns/DDMS/1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd">
<ddms:identifier ddms:qualifier="http://metadata.dod.mil/mdr/ns/MDR/0.1/MDR.owl#URI"
ddms:value="http://www.whitehouse.gov/news/releases/2005/06/20050621.html"/>
</ddms:Resource>Hi
What is the error you get if you try to load the file ?
May be you have to change the schema location of the xsd to an absolute path in your exable it is relative
xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd"
regards Patrick -
Hi,
I am trying to write a class which can open file with selected application. for simplicity, now I just hard code the varaibles.
the problem: if the path or file name has space in it, even it exist, winword still can not open it.
could someone kindly show me what I did wrong and how to do it properly.
Thanks in advance.
Belinda
public static class FileOpen
public static void info()
string path = @"c:\a temp folder\aaa 1.txt";
if (File.Exists(path))
// the file I am using in the sample does exist
MsgBox.info("yes");
else
MsgBox.info("no");
// working
//Process.Start("winword", "c:\\aaa.txt");
// not working
//Process.Start("winword", "c:\aaa.txt");
// not working
Process.Start("winword", "c:\\a temp folder\\aaa 1.txt");
// not working
Process.Start("winword", path);string AppPath;
AppPath = ReadRegistry(Registry.CurrentUser, "Software\\FabricStudio", "TARGETDIR", value).ToString() + @"help";
string FileName = "'"+ AppPath + "\\ImageSamples.doc" + "'";
try
System.Diagnostics.Process.Start("Winword.exe", FileName);
can any body please help for this.
where i am making mistake? -
How to delete the file with space in name
Hi
I want to delete the file "test ex.txt" file.
i run the following command in command prompt.i can delete the file successfully.
/bin/rm -f /mnt/"test ex.txt"
I want to run the command from java.So i am using the following code
String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
Runtime rt = Runtime.getRuntime();
process = rt.exec(cmd);
The file was not deleted.
How to delete the file with space in name?
Help meUse the form of exec that takes an array of command + args.
arr[0] = "/bin/rm"
arr[1] = "-f"
arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls. -
Can't email files with spaces in the file name since 10.5.2 upgrade
Not sure if this is a bug with Leopard or I'm being stupid (possibly the later) but... Has anyone else experienced this issue and do you know what is causing it? I am currently unable to send a file that has a space in the file name. The only change on my system that has occurred since I last sent and email in a similar way is I've updated my OS from 10.5.1 to 10.5.2. Any ideas how to fix it?
Sorted. Well sort of. I still have the problem but I know why. Apparently O2 will not allow anyone to send an attachment which has a space in the name. They claim that this reduces spam - no idea why they think that will stop spam but there you go...
-
How move file with space in the name to another foler on Linux from ABAP?
Hi experts,
My requirement is to move the file on Linux to another folder via ABAP program.
IN SM49 is defined ZMOVE command for "mv" operating system command. In ABAP, fm:
SXPG_COMMAND_EXECUTE calls ZMOVE external command to move the file to another folder.
But in case that file has space in the file name, then the fm gives error and the file can not be moved.
I have tried as given in the Note 1152084 - Parameter for external commands but it doesn't work.
Don't know if the reason is that the note is for Windows or Unix and we have Linux.
So, I have tried with ''%file name%' and '''file name'''.
PLease advice hoe to move file on Linux to another folder from ABAP program if the file has spec in the name.
Thanks in advance.
Kind regards,
Danijela ZivanovicHi,
You can also try :
mv "file\ name" /<path_to_new_dir>
(Put "\" before each space)
Regards.
Rajesh Narkhede -
Mplayer can't play files with spaces in their name
After scratching my head and reinstalling codecs several times without luck, and old memory resurfaced of this occuring before and I managed to solve the problem.
The thing is that if you doubleclick a file in Nautilus, and said files has spaces in its name, mplayer won't be able to play it, and gives a very cryptic error message, ie "cannot play file a%20b.avi" if the name of the file is "a b.avi".
The trick is mentioned in this thread -- you edit /usr/share/applications/mplayer.desktop and change 'Exec=gmplayer %U' to 'Exec=gmplayer %F'.
The bug has been around forever, and hasn't been fixed yet. Perhaps the mplayer devs don't want to fix it. In any case, I would propose that either we fix this in the mplayer Arch package, or that someone more knowledgeable than I get in touch with the devs about it.
Just a suggestion, but I think it's kind of important. It's really confusing to new users.In my opinion, it it's not arch's job to fix bugs from upstream, no matter if it's mplayer or gnome's fault. Of course there are exceptions, eg if a bug in a critical package hardlocks the whole system, or adds a huge security risk.
I would like to belive that the general arch user is smart enough to find one of the 30 threads about this bug (or the entry on the bugtracker) and fix it themselves. Personaly I would put this in the same category as packages that don't have a .desktop file at all from upstream.
Oh, and as a small sidenote: http://phraktured.net/patching-patching-patching.html -
How to add new text and an empty space before a file name with Automator
I can create a new service to add to multiple files some text before the file name but I need to add even an empty space; e.g. file name original becomes: new text(space)file name original. The aim is to add this text and space to multiple files.
I hope to be understood. Please can somebody help me?
ThanksThis is an old Apple-supplied AppleScript that will do the job.
IMPORTANT: note the conditions of use: it will choose the frontmost Finder window to operate on. Therefore, open the folder you want to change the names of and make it the front finder window BEFORE running the script.
Add to File Names
This script is designed to add a prefix or suffix to files in the front window of the desktop.
If no folder windows are open, the script will affect items on the desktop.
Copyright © 2001–2007 Apple Inc.
You may incorporate this Apple sample code into your program(s) without
restriction. This Apple sample code has been provided "AS IS" and the
responsibility for its operation is yours. You are not permitted to
redistribute this Apple sample code as "Apple sample code" after having
made changes. If you're going to redistribute the code, we require
that you make it clear that the code was descended from Apple sample
code, but that you've made changes.
--March 2014: Changes by Phil Stokes to make the script work on 10.9
--these changes are simply reversing the order of parameters in the lines that have "copy" in them
-- The following line is disabled due to a Menu Manager bug
--set the source_folder to (choose folder with prompt "Pick the folder containing the files to rename:")
try
tell application "Finder" to set the source_folder to (folder of the front window) as alias
on error -- no open folder windows
set the source_folder to path to desktop folder as alias
end try
set the prefix_or_suffix to ""
repeat
display dialog "Enter the prefix or suffix to use:" default answer the prefix_or_suffix buttons {"Cancel", "Prefix", "Suffix"}
copy the result as list to {button_pressed, prefix_or_suffix}
if the prefix_or_suffix is not "" then exit repeat
end repeat
set the item_list to list folder source_folder without invisibles
set source_folder to source_folder as string
repeat with i from 1 to number of items in the item_list
set this_item to item i of the item_list
set this_item to (source_folder & this_item) as alias
set this_info to info for this_item
set the current_name to the name of this_info
if folder of this_info is false and ¬
alias of this_info is false then
if the button_pressed is "Prefix" then
set the new_file_name to the (the prefix_or_suffix & the current_name) as string
else
set the new_file_name to the (the current_name & the prefix_or_suffix) as string
end if
my set_item_name(this_item, the new_file_name)
end if
end repeat
beep 2
on set_item_name(this_item, new_item_name)
tell application "Finder"
--activate
set the parent_container_path to (the container of this_item) as text
if not (exists item (the parent_container_path & new_item_name)) then
try
set the name of this_item to new_item_name
on error the error_message number the error_number
if the error_number is -59 then
set the error_message to "This name contains improper characters, such as a colon (:)."
else --the suggested name is too long
set the error_message to error_message -- "The name is more than 31 characters long."
end if
--beep
tell me to display dialog the error_message default answer new_item_name buttons {"Cancel", "Skip", "OK"} default button 3
copy the result as list to {button_pressed, new_item_name}
if the button_pressed is "Skip" then return 0
my set_item_name(this_item, new_item_name)
end try
else --the name already exists
--beep
tell me to display dialog "This name is already taken, please rename." default answer new_item_name buttons {"Cancel", "Skip", "OK"} default button 3
copy the result as list to {button_pressed, new_item_name}
if the button_pressed is "Skip" then return 0
my set_item_name(this_item, new_item_name)
end if
end tell
end set_item_name -
I am using OSX 10.9.5 and Outlook Web App for emails. When I download an attachment it replaces the space in the file name with %20 - how can I change this?
Click on the below link :
https://get.adobe.com/flashplayer/otherversions/
Step 1: select Mac OS X 10.6-`0.`0
Step 2 : Safari and FIrefox
Then click on " Download Now" button. -
RMAN having trouble with spaces in file names.
Hi,
RMAN is complaining if cmdfile and log file names have space in them (even if they are quoted). This test is done on windows with 10g.
cmd> rman target / cmdfile rcmd.txt
This works fine. However,
cmd> rman target / cmdfile "E:\test dir\rcmd.txt"
complains about syntax. Something like:
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "identifier": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
RMAN-01008: the bad identifier was: dir
RMAN-01007: at line 0 column 10 file: command line arguments
Am I missing something here? Any help is greatly appreciated.
Thanks,
Raghu.I got response from oracle support folks on this. Looks like two levels of quotes are required to make it work.
Something like:
cmd> rman target / cmdfile "'E:\test dir\rcmd.txt'" -
Publishing w/FTP and spaces in file names
I read that if I wanted to build a site in iWeb, and then publish to a 'non .mac' server (via FTP) that I'd have to make sure that all of my file and page names didn't have any spaces or special characters in them.
I went thru all of my files and fixed all of the names, and then re-imported/re-linked using all of the new names.
When I 'publish to file' though, several of the files revert back to the old names in the newly published folder.
Anyone have any ideas? Is there a cache, or something, in iWeb that might be causing this?
Thanks, in advance...did you get it fixed? because i had the same thing happen to me. what i did was,
-open your site on iweb
-click on the inspector button
-click on the metrics tab on it(thats second from the right, looks like a little ruler).
-click on a photo or a graphic. (it will show you the file name in the file info box).
-for any of the files that have spaces in them opened up a new finder window and go directly to that file.
-click on the file name and change it so that it has no spaces
-now draged it directly to the place holder on iweb.
-the file name should changed in the inspector box.
-then save it and re-publish it to a folder. in the folder you can look and see if it changed.
I had to do this with almost all my files. there might be a faster way but this worked for me
hope this helps.
ibook G4 Mac OS X (10.3.9) -
The button is using javascript. I know I could use underscores and hyphens, but spaces would be best. All I see is how you can't use spaces in URLs, but this is a file name, so I don't understand why it converts it to %20.
You cannot. the "%20" indicates the hexadecimal (base 16) character number for a space.
-
Document library: File name with spaces at EOF
I noticed a strange issue with uploading files with space at end of file (example "ABC .xlsx"). Such files are allowed to be uploaded for the first time but when the end user (with contribute permission) tries to upload the same file again
(overwrite) then it uploads the file and goes to the next dialog box where properties for the form is collected (EditForm) and then when user tries to hit save, he gets "Sorry this site is not shared with you" error. The owners (with Full control
permission) get the error message that the file needs to be renamed.
This does not happen with files having proper names. The files are automatically overwritten as expected.
Is it a SharePoint bug or am I missing something ?Hi Prakash,
When we upload a document which contains spaces at the end of the file name, then SharePoint will trim out the spaces in the Edit Item Form, so the name for this document should be “ABC.xlsx”.
When we re-upload the document to SharePoint, because of that extra space it sees the filename(ABC .xlsx) as different to the existing document (ABC.xlsx) so it adds it as a new document.
And in the edit item form, the space has been trimmed out. Because there is already a document with that filename in the document library, it throws the error.
So this issue is by design that SharePoint uploads the document first and then edit the properties of the document.
For more details, please refer to the link below:
https://discoverlars.wordpress.com/2012/10/27/sharepoint-doesnt-overwrite-a-document-with-the-same-name-but-creates-duplicates/
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support
Maybe you are looking for
-
Issue in rdf output --getting square boxes in the output
Hi All, I am facing an issue in the report output ... 'Square box ' are getting printed in the output along with data. Can any one of you please let me know if any one solved such issue before??? Thanks in advance.... Regards Jana Edited by: Jana on
-
Automatic Refresh when site is changed
After the great service on another question, I thought I would pose my next. i have been using the Blog page on Iweb to be able to inform users of latest news. The problem is when the link is clicked to take them there, they generally get the old pag
-
How to reference SQL column value for page item text field
greetings, I created a simple report based on sql query. the query is select employeeid,salary from emp_tbl. under the report column i see employeeid and salary. I created a page item text field with the source type pl/sql function body. inside this
-
When doing a search for a file in system 10.6 the returned results would indicate the path to the located file. I recently update to system 10.8. When search using system 10.8,I can not find the path. How can I activate this feature?
-
N81 8GB not detecting network?
Hello everyone! I picked up my phone this morning and sent my friend a message, but i didn't get a responce. I found out the my phone has disconnected from the network, and automatically or manually selecting networks are not yeilding any results. It