SAXException: PI names starting with 'xml' are reserved.
Has anyone run across a problem trying to parse an xml instance (in this case it's an XSL style sheet) using Oracle's parsers? I'm getting the following sax error message:
SAXException : oracle.xml.parser.v2.XMLParseException: PI names starting with 'xml' are reserved. detailed SAX exception message: PI names starting with 'xml' are reserved.
The code generating this error is:
XMLDocument xml = ParseDocument(xmlDoc, parser);
private static XMLDocument ParseDocument(String documentStream,
DOMParser parser)
XMLDocument returnXML = null;
try
parser.parse(new InputSource(new ByteArrayInputStream(documentStream.getBytes())));
returnXML = parser.getDocument();
catch (SAXException saxE)
System.err.println("SAXException : " + saxE + " detailed SAX exception message: " + saxE.getMessage()); // this is the statement generating the error message
catch (IOException e)
System.err.println("IOEx, Parse failed : " + e);
catch (Exception e)
System.err.println("Ex, Parse failed : " + e);
return returnXML;
Thanks in advance for any help you can provide.
Sincerely,
Tim
lv_clob is invalid, there are two
<?xml version="1.0" encoding="UTF-8"?> elements, remove one of them.
SQL> DECLARE
2 lv_clob CLOB:=EMPTY_CLOB();
3 ignore boolean;
4 BEGIN
5 lv_clob := '<?xml version="1.0" encoding="UTF-8"?>
6 <!ELEMENT firstname (#PCDATA)* >
7
8 <!-- Element function -->
9 <!ELEMENT function (#PCDATA | noteref)* >
10 <!ATTLIST function xml:lang (de | en | fr | la | nl) #IMPLIED >
11
12 <!-- Element initials -->
13 <!ELEMENT initials (#PCDATA)* >
14
15 <!-- Element lastname -->
16 <!ELEMENT lastname (#PCDATA)* >
17
18 <!-- Element structured-author -->
19 <!ELEMENT structured-author ( (firstname, initials? , lastname , function*) ) >
20 <!ATTLIST structured-author ID ID #IMPLIED anchor:name CDATA #IMPLIED > ';
21
22 ignore := dbms_xdb.createResource(abspath => '/structured-author.dtd',data => lv_clob);
23
24 commit;
25 END;
26 /
PL/SQL procedure successfully completed.
SQL> INSERT INTO xml_tst VALUES ('<?xml version="1.0" encoding="utf-8"?>
2 <!--ArborText, Inc., 1988-2002, v.4002-->
3 <!DOCTYPE structured-author PUBLIC "-//WKB//DTD SL author//EN" "structured-author.dtd" [
4 ]>
5 <structured-author ID="SL3654393">
6 <?Pub Caret1?>
7 <firstname>firstname</firstname>
8 <initials>initial</initials>
9 <lastname>lastname</lastname>
10 <function xml:lang="nl">function description in dutch</function>
11 <function xml:lang="fr">function description in french</function>
12 </structured-author>');
1 row created.
SQL> spool off;
Similar Messages
-
Only save queries if name starts with Y
Hello,
How can security be configured so that users can only save queries whose Technical names start with Y?
What authorizations are required and what values should be assigned?
Thanks,
NickHello Jin,
We are on BW 3.5.
Here is the complete set of authorizations assigned to my test user. What I want is for this user to only be able to create queries if they choose to save them with a name starting with Y.
Currently (with the authorization specified below) they can save queries that start with <i>any</i> letter. When I save a query with the description and Technical name of: DELETE_VG15 it gives me two messages for "Authorization check". The first says "You do not have authorization for change" and the second message says: "Query (InfoCube ) was saved" So it does end up saving even though the name provided doesn't conform to what I want in the authorizations.
Hopefully you can help me fill in what is wrong, maybe copy what i have and repost with the values you are using.
<b>S_RFC</b>
Activity: 16
Name of RFC to be protected: *
Type of RFC to be protected: *
<b>S_RS_COMP</b>
Activity: 01
InfoArea: *
InfoCube: *
Name (ID) of a reporting component: Y*
Type of a reporting component: QVW, REP
<b>S_RS_COMP1</b>
Activity: 02
Name (ID) of a reporting Component: Y*
Type of a reporting component: QVW, REP
Owner (Person Responsible) for: *
<b>S_RS_ICUBE</b>
Activity: 03
InfoCube SubObject: *
InfoArea: *
InfoCube: *
I Just found this one as well, and it may be the problem:
<b>S_RS_COMP</b>
Activity: *
InfoArea: *
InfoCube: Z_COPA
Name (ID) of a reporting Component: *
Type of a reporting component: QVW, REP
Thanks!
Nick
Message was edited by:
Nick Bertz -
Band names starting with "the"
Does anybody know why they changed the sorting rule in that way, that Bands starting with "the" are now found under "t" and not anymore under the bands name ?
Is there a way to change it again?True, I remember an issue along that line where "Dashboard Confessional" was filed under "h" a long while back. Unfortuanately, the original post was:
"...Bands starting with "the" are now found under 't'"
Unless the German (or whatever) version also ignores "The", and Harry is using one of those versions...
Unfortunately, we don't have enough info on the original post to determine this as the issue. If HArry were to post some info about the version and language, maybe? -
Trouble when a project name starts with ´@´.
I have a trouble when a project name starts with ´@´. I can´t watch any photo into the aperture browser.
Is that a bug? Any help please?
Thanks in advance.I have a trouble when a project name starts with ´@´. I can´t watch any photo into the aperture browser.
What is your Aperture 3 version? Are you using the latest version? For me projects with '@' in the name can be viewed in the browser; I'd need more information to reproduce that problem on my system.
But I would refrain from using such characters in filenames and library items, like projects and folders anyway.
All characters, that have a special meaning in the Mac OS X unix shell, like '@', '|', '~', '.', `/` may cause trouble when exporting or sharing the files.
Regards
Léonie -
Migrating from Sql Server tables with column name starting with integer
hi,
i'm trying to migrate a database from sqlserver but there are a lot of tables with column names starting with integer ex: *8420_SubsStatusPolicy*
i want to make an offline migration so when i create the scripts these column are created with the same name.
can we create rules, so when a column like this is going to be migrated, to append a character in front of it?
when i use Copy to Oracle option it renames it by default to A8420_SubsStatusPolicy
Edited by: user8999602 on Apr 20, 2012 1:05 PMHi,
Oracle doesn't allow object names to start with an integer. I'll check to see what happens during a migration about changing names as I haven't come across this before.
Regards,
Mike -
I want to use " CALL CUSTOMER-FUNCTION '005'" within the function module IDOC_INPUT_STPPOD. But when I click on INCLUDE ZXTRKU13, I get the error message:
"Program names ZX... are reserved for includes of exit function groups".
What must be done in order for me to create and add my code to ZXTRKU13??
Regards,No Problem Mate.
We've very Handy tool with name as "Abuse report" it never needs to Enqueue/Dequeue before pressed.So You can use freely(Whenever needed) this for yourself also . -
PowerShell add Printer Permissions where the printer name starts with...
I have a printer server that has printers for multiple buildings. All the buildings have abbreviations like "BLD" for example, so my printers start with the same building abbreviations
like “BLD-Printer1”. Is there a quick an easy way to set permissions on printers where the name starts with something like BLD?
I'm a total noob with PS .<o:p></o:p>Just wanted to point out that in addition to using .NET/WMI to enumerate the printers, Windows 8 has a native PowerShell implementation you could use. It supports remote management, so you can even use it from a Windows 8 client to target your Windows Server
2008 R2 instance.
$printers = Get-Printer -ComputerName $printServerName -Name bld*
foreach ($printer in $printers) {
Set-Printer -ComputerName $printServerName -Name $printer.Name -PermissionSDDL #fill in your permissions here
Full description of these cmdlets: http://technet.microsoft.com/en-us/library/hh918357.aspx
Excellent - Just fill in the SDDL.
Does this work on WS2008R2 PrintManager Queues? I find no -SDDL except on WS2012. WS8 is missing this parameter. Is it only available on WS8 Enterprise?
WS2008R2 also does not seem to support this.
Get-Printer and its cousins are wrappers around The Q functions posted above. The API has no security bits before WS2012. Look at the MSDN and Technet articles for this CmdLet and the other "Printer" CmdLets.
¯\_(ツ)_/¯ -
In the Finder sidebar, under 'Shared', I encounter my TC, as well as another item with a long name starting with 'hp'. 'Get info' shows it to be a 'PC'. However, I don't have a PC. It cannot be my printer (HP), since that has anoter name.
I can not access the item, which has me a 'guest'.
What could this item be? And how to get rid of it?
Many thanks in advance for your help.
DBIt's almost certainly your hp printer and is showing the WiFi adapter MAC address after the HP.
To verify, look at the printer configuration page via Bonjour in Safari. The settings tab shows the Mac address in the bottom left hand corner for my model of HP printer.
I'm sorry but I can't explain why that would show up in the finder. -
Program with a name starting with '!'
Hi,
I have a problem with a progam. In fact, I want to delete an include but this include is used in a program with a name starting with '!' like
!ZMM_PR_TEST.
I can't open this program or delete it.
What can I do ?
Must I delete this "strange" program or not ?
Thanks in advance for your help...
Best regardsHi Carl,
If you want to delete the program in Any way.. Delete it from the TADIR table...
the symbol " ! " may be some customer name space... Hope you cross check about that name space and
go ahead deleting it from a program accessing the record from TADIR table and modifying the TADIR table.
If something is not happening directly then there is almost a chance to delete the record from the table through a zprogram..
Hope this would help you.
Any question please revert back
Good luck
Narin. -
Is it Possible to create a Report Name starting with M.
HI ,
Just Now I have created a report naming with MYreport. I have expected that system will ask the Access Key since starting letter is M . But System allowed me to create the Report MYREPORT.
As per My Knowledge, Only Y and Z letters for Report. But now how system allowed me to create a report starting With M without access key.
With Regards,
Neptune.MHi,
You can name a program with 'MZ' or 'MY'. Infact all the includes of custom module program will be having names starting with 'MZ' or 'MY'. Try creating a program with other than these combination, the system will surely check.
Addendum:
For example if you create a module pool program with name
SAPMZTEST, then the include names will be
MZTEST_TOP, MZTEST_O01, MZTEST_I01, MZTEST_F01 and so on..
Similarly, for Z function group sap creates dynamically creates the following programs:
SAPLZTEST - Main program
LZTESTTOP
LZTESTO01
LZTESTI01
LZTESTUXX where X containing includes LZTESTU01,LZTESTU02 stands for 01, 02 and corresponds to function module under the function group.
Thanks and regards,
S. Chandramouli.
Edited by: Chandramouli Subburathinam on May 5, 2008 2:35 PM
Edited by: Chandramouli Subburathinam on May 5, 2008 2:42 PM -
Program names ZX... are reserved for includes of exit function groups means
dear all,
i am doing the enhacement SRVESSR for EXIT_SAPLMLSR_010 in this exit i got include, when i double click on the ZXMLUU19
i am getting the following error.
Program names ZX... are reserved for includes of exit function groups
regrds.
shashiHi,
When the warning message is displayed press enter key, System will prompt the message "Include ZXMLUU19 does not exist. Create Object? ". Select Yes option. Include will be created.
Regards
Vinod -
Transaction starting with Y_DEV are showing in German language even though
Hi,
When we are login into SAP with French language, then all the transaction starting with Y_DEV are showing in German language i.e the initial screen and when we execute(F8) any transaction starts with Y_DEV, the output is coming in French language.
Why in the initial screen, it is reflecting in German language even though the login is made with French language.
With regards.Hi,
Y_DEV* are user-developed reports. Could be that the selection parameters are not translated to French or maybe they just have to be re-generated (it happens sometimes in SAP). Use GR52 to regenerate the group of these reports.
Regards,
Eli -
Hi,
I am using Oracle 10.2 and am experiencing an issue that doing some operations on existing tables, some temporary tables are getting created starting with BIN$.
For ex: BIN$HULdSlmnRZmbCXAl/pkA9w==$0
But I dont see these tables in the database after two or three days. I found that these temporary tables are a replica of existing tables and these contain only the table structure but not the data. I even not able to drop them from database.
Can anyone throw some pointers on this?
Thanks and Regards,
SivaThese tables are in the Oracle recycle bin. When you drop a table, Oracle just renames it to BIN$xxx so that you can undrop the table if you made a mistake.
- You can ignore tables in the recycle bin if you would like. Oracle will automatically purge them when it needs the space.
- You can prevent a table from going in to the recycle bin by adding the purge command to the drop, i.e.
DROP TABLE table_name PURGE- You can empty out the recycle bin using the command
SQL> purge dba_recyclebin(or just recyclebin if you only want to clear out the objects you own from the recyclebin).
Justin -
Can we create the Application name starting with Numerics
Hi All,
can we create an application name stating with number like 1234Samsung.
Also can we use the special characters between them.
Also are there any rules for creating database names other than maximum 8 characters limit.
RegardsHi,
1. You can create starting with numerics, 123samsu.
2. samsung cannot complete ,the know reason is exceeding 8
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/ -
SPC Chart and Tag Name starting with a Number
On a 11.5.3 (latest build) install, we've found that SPC Charts don't like tag names that start with numeric characters. The data points just don't plot. I can right click and get the data, but there are no points on the chart. All other applets work fine with the same tags. Has anyone else seen this?
Hey Rick,
We did try that and it worked. Also when creating the tags in the UDS Admin, I don't believe the UDS Admin will allow for this scenario (along with funky characters like pipes "|"). However, we are using an alias file (export from Historian into Excel, into SQL, and tweaked via Xacute) where the UDS Admin rules aren't enforced, which might be the inherent problem here.
I just thought that if the applets allowed it, the iSPCChart should also.
Thanks.
Edited by: Ryan Miller on Feb 19, 2008 10:04 AM
I'll leave this thread unanswered for a bit to see if anyone else cares to comment.
Maybe you are looking for
-
How do I get my mac on thie internet?
I have a Preforma 6300CD Power PC, I also have a linksys wireless router, and a netgear 8 port gigabit switch. I have other computers on this network primarily linux and windows pc's. How do I get my mac to connect to the internet over tcp/ip connect
-
Working on layers with Photoshop Elements 10
Does Photoshop Elements 10 allow you to edit layers on something created in Photoshop? I have a map that is comprised of 4 layers that I'd like to edit.
-
Number of "levels" in the EP6 navigation bar
Hi everyone, is there any parameter that controls the number of "levels" displayed in the navigation bar? Or in other words...the number of subfolders you can create in a role / workset? Top Level Entry ... -> Subfolder ...... -> Sub-subfolder ..
-
IMPORT DATA -- EXCEL not working
Hello Friends, I am trying to import excel data into an oracle database file. I choose all columns and then when I click 'INSERT', I get the following message: Excel Import Selection Error No columns selected for insert Could anyone help me in findin
-
Hi, Anyone any idea if there is any way (query) to figure out the responsibility name or id through which we log into discoverer at that moment? Thanks in advance --Kumar