Adding namespace qualified element nodes

Is there a way to add namespace qualified element nodes to
a document stored in a BDBXML container using the XmlModify class
(BDBXML version 2.3.10, Linux)? Or, for that matter, any other
handles?
Particularly, is it possible to achieve this using the PHP
extension?
Let me give an example.
When doing queries, you can set a namespace in the XmlQueryContext
or in the XQuery expression itself:
# prefix cannot be '' as of BDBXML 2.3.10
$qc->setnamespace('a', 'http://as-guides.com/wev1');
declare namespace a = "http://as-guides.com/wev1"; ...
declare default element namespace "http://as-guides.com/wev1"; ...
You can then refer to your namespace qualified elements as "a:Bla"
etc. Or just as "Bla" if you make your namespace the default
namespace.
So far, so good.
Now what if I want to add a namespace qualified element to
my document? However I go about setting the namespace I always end
up with either an apparently namespace qualified element which the
namespace is not registered for or an element in the empty
namespace.
What I want is my element to adhere to the namespace
"http://as-guides.com/wev1", which is set as the default
element namespace in my document.
Here is an example document.
<Broadcast xmlns="http://as-guides.com/wev1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://as-guides.com/wev1 ds.xsd">
<Start epoch="1186100400">2007-08-03T00:20:00Z</Start>
<End epoch="1186100700">2007-08-03T00:25:00Z</End>
<Content>
<Title>Tagesschau</Title>
<Genre>Nachrichten</Genre>
</Content>
</Broadcast>
And here is my PHP code.
$docname = '2007-08-02-1186100400-25758173-ard.xml_41368';
$mgr = new xmlmanager;
$cont = $mgr->opencontainer($argv[1]);
$cont->addalias('tv');
$qc = $mgr->createquerycontext();
$qc->setnamespace('a', 'http://as-guides.com/wev1');
$qexp = $mgr->prepare('/a:Broadcast', $qc);
$mod = $mgr->createmodify();
$mod->addappendstep($qexp, XmlModify_Element, 'a:now', time());
$doc = $cont->getdocument($docname);
$docval = new xmlvalue($doc);
echo $docval->asString(), "\n";
$uc = $mgr->createupdatecontext();
$mod->execute($docval, $qc, $uc);
Here is what gets added as last child node under "Broadcast":
<a:now xmlns="">1189605065</a:now>
So the namespace prefix I specified is added verbatim, without
regard to the namespace settings in $qc (XmlQueryContext) - which
do work fine for the query. No namespace declaration for "a"
is added to the document. The resulting XML is invalid, as
xmllint correctly points out.
namespace error : Namespace prefix a on now is not defined
So settings in XmlQueryContext do not seem to have any bearing on
my update. XmlUpdateContext, on the other hand, does not have any
methods defined for setting the namespace.
Not setting the namespace in $qc (XmlQueryContext) and specifying
it in the XQuery itself didn't work either. I left out the call to
"setnamespace()" and changed the query to:
declare default element namespace "http://as-guides.com/wev1";
/Broadcast
And I changed "a:now" to just "now". Here is what got added:
<now xmlns="">1189607498</now>
I didn't expect this second version to work, but I did expect the first
one to work.
What is the meaning of supplying XmlQueryContext to the execute()
method?
Is there a way to add namespace qualified elements to a document?
If so, how can it be done?

Thanks for your answer, George. I haven't quite understood how to make it do the trick, though.
To change one document I did:
dbxml> open tv.dbxml
dbxml> setnamespace a http://as-guides.com/wev1
Binding a -> http://as-guides.com/wev1
dbxml> getdoc 2007-08-02-1186104300-25758380-sat1.xml_40564
1 documents found
dbxml> print
<?xml version="1.0" encoding="UTF-8"?>
<Broadcast xmlns="http://as-guides.com/wev1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://as-guides.com/wev1 ds.xsd">
<Start epoch="1186104300">2007-08-03T01:25:00Z</Start>
<End epoch="1186105800">2007-08-03T01:50:00Z</End>
<VPS>03:25</VPS>
<Content>
<Title>Moin</Title>
</Content>
</Broadcast>
dbxml> append doc(2007-08-02-1186104300-25758380-sat1.xml_40564)/a:Broadcast element "" "<a:now xmlns:a='http://as-guides.com/wev1'>NOW</a:now>"
Appending into nodes: doc(2007-08-02-1186104300-25758380-sat1.xml_40564)/a:Broadcast an object of type: element with name: and content: <a:now xmlns:a='http://as-guides.com/wev1'>NOW</a:now>
0 modifications made.
No change made to my document. I used the doc() function instead of collection() as in the example you gave. Using collection() as in your example (verbatim) I get an error message:
stdin:17: append failed, Error: XmlModify::execute: Cannot perform a modification on an XmlValue that isn't either Node or Document type
This is in the FAQ, but I don't quite get it.
http://www.oracle.com/technology/products/berkeley-db/faq/xml_faq.html#49
Anyway, I can still perform modifications outside of the container and then replace the document. Or wait till 2.4.
Thanks for your answer and the good work. Regards,
Michael

Similar Messages

  • Error parsing envelope: Header child element must be namespace qualified

    Hey all,
    I'm creating a BPEL process that invokes a web service. The web service has an authenticate method that returns a session ID that I attempt to invoke. However, the process fails when trying to parse the response when invoking that operation. I checked the server logs and it's reporting the following: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'ID' must be namespace qualified!
    So I invoked the authenticate operation using SOAP UI, since it doesn't parse the response but merely displays it, and here's what was returned (slightly modified):
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header>
          <ID>xxx</ID>
       </soapenv:Header>
       <soapenv:Body>
          <ns1:SessionID xmlns:ns1="http://some-namespace">
             <ns1:ID>xxx</ns1:ID>
          </ns1:SessionID>
       </soapenv:Body>
    </soapenv:Envelope>
    Indeed the ID tag in the header doesn't have a namespace prefix. Looking at the SOAP 1.1 spec it says, “A header entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. All immediate child elements of the SOAP Header element MUST be namespace-qualified.”
    I was told that the code for the web service is frozen and cannot be changed. Are there any ways around this problem? Is it possible for the BPEL process to not parse the SOAP header?
    Thanks,
    Bill

    All,
    I think I might use a HeaderHandler to either strip the offending element from the header all together or modify it so that it's namespace qualified. The problem is, I can't find much documentation on it. The only thing I can find is this: Manipulating XML Data in BPEL section 3.19. It says to implement the HeaderHandler interface but doesn't give the fully qualified name of the interface. I'm guessing it's referring to com.collaxa.cube.ws.HeaderHandler. The invoke method that is defined in the interface is a little different than the one in the documentation. Mine has a signature of public void invoke(CXPartnerLink partnerLink, String operationName, Map payload, List list, Map map2)...what do these parameters represent and what key/value types do the maps have? It also says to register the handler in the bpel.xml deployment descriptor file but I can't find one - is it auto-generated? If so, where is it. If not, how do I generate it? I appreciate any information.
    Thanks,
    Bill

  • Header child element 'WSCorIDSOAPHeader' must be namespace qualified!

    I have two machines. The first machine have an OSB managed server and admin server. The second machine have a SOA managed server, admin server and enterprise manager.
    A service call in OSB is redirect do SOA Server (BPEL process).
    After the route the follow message error show in SOA Server log.
    INFO: FabricProviderServlet.stateChanged SOA Platform is running and accepting requests
    javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'WSCorIDSOAPHeader' must be namespace qualified!
         at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:137)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
         at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1572)
         at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
         at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
         at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
         at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
         at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: javax.xml.soap.SOAPException: Header child element 'WSCorIDSOAPHeader' must be namespace qualified!
         at oracle.j2ee.ws.saaj.soap.HeaderImpl.createChildElement(HeaderImpl.java:213)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
         at oracle.j2ee.ws.saaj.soap.StaxHandler.startElement(StaxHandler.java:222)
         at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:82)
         at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:70)
         at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.getStaXParsedEnvelope(AbstractSOAPImplementation.java:204)
         at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:58)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
         at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1572)
         at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
         at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
         at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
         at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
         at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    What is WSCorIDSOAPHeader ???

    Remove Introscope agend configuration temporarily from yours managed servers and try call the service.
    This is the cause of your problem.
    Contact your Introscope Administration and task about the problem of Introscope + OSB + BPEL (SOA Server).
    Workaround:
    Remove Introscope agend configuration temporarily from yours managed servers and try call the service.

  • LSX-00310: local element or attribute should be namespace qualified

    I am getting the following error
    ORA-31154: invalid XML document
    ORA-19202: Fout in XML-verwerking (
    LSX-00310: local element or attribute should be namespace qualified)
    I am doing
    declare
    l_xmldoc XMLType;
    BEGIN
    l_xmldoc := xdburiType('/home/1.xml').getXML();
    l_xmldoc.schemavalidate;
    END;
    the schema and xml file are valid , I checked them
    with xmlspy
    does this error mean
    thanx Edwin

    Will need your schema and document to debug this. Sometimes we catch things SPY doesn't and sometime they catch things we miss...

  • Fully qualified elements in clientgen ant task

    I think that ant clientgen task from WLS 10.3.3 is ignoring XSD parameter elementFormDefault="qualified". I generated client with this task and then sent simple request to webmethods server (i don't know version of this server either implementation of webservices on it) and i received bellow error:
    *javax.xml.ws.soap.SOAPFaultException: [ISS.0088.9112] An Exception was thrown in the server:{0}*
    After some investigation i had notice that webmethods server is answered with followed response:
    +<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body>+
    +<SOAP-ENV:Fault>+
    +<faultcode>SOAP-ENV:Server</faultcode>+
    +<faultstring>[ISS.0088.9112] An Exception was thrown in the server:{0}</faultstring>+
    +<faultactor>http://ip:6080/soap/inbound</faultactor>+
    +<detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">+
    +<webM:exception>+
    +<webM:className>com.wm.lang.flow.FlowException<;/webM:className>+
    +<webM:message xml:lang="">java.lang.Exception: missing required parameter 'document'</webM:message>+
    +</webM:exception>+
    +</detail>+
    +</SOAP-ENV:Fault>+
    +</SOAP-ENV:Body>+
    +</SOAP-ENV:Envelope>+
    but request had document element in it:
    +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><metadata xmlns="http://ns"><processGroup>PR</processGroup></metadata></S:Header><S:Body><document xmlns="http://ns"><binary>some binary</binary></document></S:Body></S:Envelope>+
    after some modification i created fixed elements for body tag like this:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >+
    +<soapenv:Header>+
    +<ns:metadata xmlns:ns="http://ns">+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document xmlns:ns="http://ns">+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    sent it ... and response was fine!
    When I create request in Altova XMLSPY or in SOAPUI  requests are correct (with qualified elements - see below)
    Example request from soapui:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ns">+
    +<soapenv:Header>+
    +<ns:metadata>+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document>+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    My WSDL*
    +<wsdl:definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/";+
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns="http://ns" xmlns="http://ns" name="ReceiveRequest" targetNamespace="http://ns">
    +<wsdl:documentation>This WSDL document contains an implementation of the ns Inbound Web Service.</wsdl:documentation>+
    +<wsdl:types>+
    +<xs:schema>+
    +<xs:import schemaLocation="xsd/data.xsd"; namespace="http://ns"/>+
    +</xs:schema>+
    +</wsdl:types>+
    +<wsdl:message name="metadata">+
    +<wsdl:part name="metadata" element="ns:metadata">+
    +<wsdl:documentation>the meta data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="document">+
    +<wsdl:part name="document" element="ns:document">+
    +<wsdl:documentation>the input data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="receiveRequestOutput">+
    +<wsdl:part name="response" element="ns:processingResponse">+
    +<wsdl:documentation>the output data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:portType name="ns_backend_SOAPPortType">+
    +<wsdl:operation name="receiveRequest">+
    +<wsdl:input message="ns:document"/>+
    +<wsdl:output message="ns:receiveRequestOutput"/>+
    +</wsdl:operation>+
    +</wsdl:portType>+
    +<wsdl:binding name="ns_backend_SOAPBinding" type="ns:ns_backend_SOAPPortType">+
    +<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>+
    +<wsdl:operation name="receiveRequest">+
    +<soap:operation soapAction="receiveRequest" style="document"/>+
    +<wsdl:input>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body parts="document" use="literal"/>+
    +</wsdl:input>+
    +<wsdl:output>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body use="literal"/>+
    +</wsdl:output>+
    +</wsdl:operation>+
    +</wsdl:binding>+
    +<wsdl:service name="ReceiveRequest">+
    +<wsdl:port name="ns_backend_SOAPPort0" binding="ns:ns_backend_SOAPBinding">+
    +<soap:address location="https://ip:6080/soap/inbound"/>+
    +</wsdl:port>+
    +</wsdl:service>+
    +</wsdl:definitions>+
    And XSD*
    +<?xml version="1.0"; encoding="UTF-8"?>+
    +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://ns" targetNamespace="http://ns" elementFormDefault="qualified" attributeFormDefault="unqualified">+
    +<xs:element name="metadata" type="ns:metadataType"/>+
    +<!-- Request header meta data -->+
    +<xs:complexType name="metadataType">+
    +<xs:sequence>+
    +<xs:element name="processGroup" type="xs:string" nillable="false"/>+
    +<xs:element name="processName" type="xs:string" nillable="false"/>+
    +<xs:element name="applReqID" type="xs:string" nillable="false"/>+
    +<xs:element name="correlationID" type="xs:string" minOccurs="0"/>+
    +<xs:element name="sender" type="xs:string" minOccurs="0"/>+
    +<xs:element name="receiver" type="xs:string" minOccurs="0"/>+
    +<xs:element name="documentVersion" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Value" type="xs:string" minOccurs="0"/>+
    +<!-- 7.1 fields: typeFlag, replyTo, tags -->+
    +<xs:element name="typeFlag" type="xs:string" minOccurs="0"/>+
    +<xs:element name="replyTo" type="xs:string" minOccurs="0"/>+
    +<xs:element name="tags" type="xs:string" minOccurs="0"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +<!-- Response body part -->+
    +<xs:element name="processingResponse" type="ns:processingResponseType"/>+
    +<xs:complexType name="processingResponseType">+
    +<xs:all>+
    +<xs:element name="timeStamp" type="xs:string"/>+
    +<xs:element name="processStatus" type="xs:string"/>+
    +<xs:element name="responseMessage" type="xs:string"/>+
    +<xs:element name="applReqID" type="xs:string"/>+
    +<xs:element name="correlationID" type="xs:string"/>+
    +</xs:all>+
    +</xs:complexType>+
    +<!-- Request body part-->+
    +<xs:element name="document" type="ns:documentType"/>+
    +<xs:complexType name="documentType">+
    +<xs:sequence>+
    +<xs:element name="binary" type="xs:base64Binary"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +</xs:schema>+
    And Ant task*
    +<target name="wsdlc">+
    +<taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"; classpathref="weblogic.jar.classpath";/>+
    +<wsdlc srcWsdl="wsdls/${wsdl_url}" jaxrpcwrappedarraystyle="false"+
    +destJwsDir="./src/${package_name}/" packageName="pl.nbp.exdi.${package_name}" type="JAXWS"+
    +explode="true" />+
    _*How to force clientgen to create fully qualified elements in request ?*_

    And one more thing: I deploy it on WLS 12c.

  • Node creation and addition to existing Element Node

    Hi all,
    I have a class that opens a xml file, loads the Document and then, from a method, I am trying to add sub nodes to one of the Element node from the XML document. It just doesn't work.
    This is the method that is supposed to add the nodes:
    public Node getSubNode( Node iCurrentNode )
    // Method local variables
    DocumentBuilder lBuilder = null;
    Document lDocument = null;
    DocumentBuilderFactory lFactory = DocumentBuilderFactory.newInstance();
    // Prepare the document and final Node to return
    lBuilder = lFactory.newDocumentBuilder();
    lDocument = lBuilder.newDocument();
    Element lSubMenu = lDocument.createElement("sub_menu");
    lSubMenu.setAttribute("ID", "User20");
    lSubMenu.setAttribute("label", "Montreal user 1");
    iCurrentNode.appendChild( lSubMenu );
    lSubMenu = lDocument.createElement("sub_menu");
    lSubMenu2.setAttribute("ID", "User21");
    lSubMenu2.setAttribute("label", "Montreal user 2");
    lDocument.appendChild(lSubMenu2);*/
    return iCurrentNode;
    I always get a "org.apache.crimson.tree.DomEx: WRONG_DOCUMENT_ERR: That node doesn't belong in this document."
    So I understand by this that I am working with a Document that I declared in this method and thus, for an unknown reason, seem unable to add this node to my existing Element node.
    What should I do to be able to add these nodes to my input Node?
    Dominique Paquin

    Ok, to answer my own question, and for the benefit of future people searching here for an answer, I'd used 2 different Document instance for the creation of my 2 nodes, one for the creation of the basic Node structure and one for the creation of the node that would be added to the other one. Since the importNode (done on the first one ) removes the parent from the imported node, I was no longer in a position to access the parent reference.
    I simply created a single Document in my class as a global variable and used this single entity to create all my nodes (the original and the one added to the original), It solved all my problems.
    I don't know if I was clear anough but if you need further explanation drop me a line.
    [email protected]
    http://www.okiok.com

  • HI Can I add a child node to an Element Node with a name that  exists

    HI,
    Can I add a child node to an Element Node with a name that is already existing in the Element Node.
    Let me explain what I need exactly.
    My Existing element Node looks like this:
    <form>
    <name>
    <FirstName></FirstName>
    <LastName></LastName>
    </name>
    </form>
    Can I add another child node with hte name 'FirstName' to the 'name' node ..?
    I want to put a attribute rvsn with a value 1 for the original 'FirstName' element Node.
    so the new Element Node should look like the foloowing:
    <form>
    <name>
    <FirstName rvsn="1"></FirstName>
    <FirstName></FirstName>
    <LastName></LastName>
    </name>
    </form>
    Hopefully this is valid XML !!
    when I tried to use appendChild, it removed the previous node and put the new one. Thats what is the documentation also said.. I read it after I tried it :(
    Anyway, ther should be another way to add a node like that.
    Any hints, ideas will be of great help.
    -Thanks in advance !!
    Murthy

    // this method will start marking the old values with a revision number.
         private void saveNodeDetails (Node node) {
    String Content = "";
    String nodeName = "";
    int rvsn = getRvsn();
    int type = node.getNodeType();
    int tempRvsn = 0;
    String tempNodeName = "";
    String tempParentNodeName = "";
    Node tempParentNode = null;
    // check if element
    if (type == Node.ELEMENT_NODE) {
    Node traverseNode = node;
    nodeName = getNodeName(traverseNode);
    if (nodeName != null && nodeName.trim().length() > 1)
    nodeName = nodeName.substring(0, nodeName.length() - 1);
    if (_debug)
    System.out.print("2. ELEMENT_NODE name## " + nodeName);
    // if the element has no children, its leaf node.
    // if its there in the Hashtble, then update the value from the hashtable.
    if (reqParams.containsKey(nodeName)) {
    if (_debug) System.out.println("3. Hash Value = " + reqParams.get(nodeName).toString());
    if (traverseNode == null)
    if (_debug) System.out.println("3A. traverseNode == null ");
    if (node == null)
    if (_debug) System.out.println("3B. node == null ::(((((");
    // get the node children
    NodeList children = node.getChildNodes();
    // end of getting children for the Node.
    if (_debug) System.out.println("4. Got ChildNodes ");
    if (children != null) {
    int length = 0;
    length = children.getLength();
    if (_debug) System.out.println("5. Got children Length = " + length);
    if( ((Element) node).hasAttribute("rvsn") ){
    System.out.println(" node has Attribute(rvsn) ");
    tempRvsn = Integer.parseInt( ((Element) node).getAttribute("rvsn") );
    if( tempRvsn == rvsn){
    // user is changing the same data again and again.
    // so remove the text node and append the new value as text node finally
    for (int index = 0; index < length; index++) {
    if (_debug) System.out.println("6. index = " + index);
    if (_debug) System.out.println(index + ": children.item( index )@saveNodeDetails@ContainerDoc = " + children.item(index).getNodeType() + " -- " + children.item(index).getNodeValue());
    if (children.item(index).getNodeType() == Node.TEXT_NODE)
    node.removeChild(children.item(index));
    }else{
    int l= 0; // do not do any thing if the current node rvsn is different from the rvsn of the DOM
    // programme logic could enter this part when ther are multiple revisions of the NODe in the DOM,
    // and we are traversing through the previous versions of it.
    } else{
    System.out.println(" node has no Attribute(rvsn) ");
    // the node has no rvsn attribute.
    // it is the initial version of the dom.
    // add the rvsn from the DOM to this NODE for the first time.
    ((Element) node).setAttribute("rvsn", (new Integer(rvsn)).toString() );
    // get parent node and add a new child node with the same name as current node.
    // so parent node will have the previous node with a rvsn and a new node without the rvsn !!
    tempNodeName = node.getNodeName();
    tempParentNode = node.getParentNode();
    tempParentNodeName = tempParentNode.getNodeName();
    System.out.println(" adding node: " + tempNodeName + " to : " + tempParentNodeName);
    node = addNode(tempParentNode, tempNodeName, "");
    getNodeName(node); // print the name of the node after modifying it !!!
    printSiblings(node);
    //System.out.println(" After adding the node : " + getNodeName(node));
    } else if (_debug) {
    System.out.println("7. Node name exist in the Hash but has no children to be removed..!!:: @saveNodeDetails ");
    if (_debug) System.out.println("7B. Update the dom from the hash value " + nodeName + ", " + reqParams.get(nodeName).toString());
    node.appendChild(document.createTextNode(reqParams.get(nodeName).toString()));
    if (node != null) {
    if ( ( (Element) node).hasAttribute("rvw"))
    ( (Element) node).removeAttribute("rvw");
    if ( ( (Element) node).hasAttribute("msg"))
    ( (Element) node).removeAttribute("msg");
    if ( ( (Element) node).hasAttribute("dor"))
    ( (Element) node).removeAttribute("dor");
    }// end of if (type == Node.ELEMENT_NODE)
    NodeList children = node.getChildNodes();
    if (children != null) {
    for (int i = 0; i < children.getLength(); i++) {
    saveNodeDetails(children.item(i));
         } // end of saveNodeDetails method
    public Node addNode(Node parentNode, String nodeName, String value){
    Node newNode = null;
    try{
    newNode = parentNode.appendChild( document.createElement(nodeName) );
    newNode.appendChild( document.createTextNode( value ) );
    }catch(Exception Ex){
    System.out.println("2. Exception@addNode@ContainerDoc = " + Ex);
    return newNode ;
    } // end of addNode method

  • How to rename element (node) names in an XMLType column?

    I have a source table with a xml data stored in an XMLType column.
    The xml contains elements/nodes identified by numbers. I need to replace the numbers with the appropriate names.
    The plsql below does this, but has two issues:
    i. It selects the data into a clob and does a text replace on the elements in a loop. This works, but is super slow for 3500+ xml rows (about 500 node pairs per row).
    ii. Once the data has had the element numbers replaced with the names, it inserts the new xml (clob wrapped in xmltype function) into the table with the XMLType attribute.
    The problem with the latter action is that it is failing due to nls client vs server settings, or so it appears from what I could dig up. The actual error message:
    ORA-19202: Error occurred in XML processing
    LPX-00242: invalid use of ampersand ('&') character (use &amp;)
    Error at line 3
    There are come entities in the original xml like "&#61616;" (the degree symbol).
    My question is two-fold:
    a). Can I replace the element names without straying from the xmltype datatype? If so, how?
    b). If I cannot do "a.)", then what must I do ensure that the clob gets converted correctly to xmltype and inserted into the table?
    SQL> select <some rows> from nls_database_parameters ;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0
    SQL> SELECT * FROM NLS_SESSION_PARAMETERS;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    ----code below-----
    (note, this is a stripped down version of the original, so there may be typos)
    declare
    l_xmlclob CLOB;
    l_newxml XMLType;
    v_record_uid NUMBER(20);
    CURSOR my_cur IS
    select a.elementname,b.tagname
    from t_elements a, t_tags b
    where (a.element_uid = b.element_uid)
    begin
    select br.xml_data.getClobVal() xml_data into l_xmlclob from t_elements;
    FOR my_rec IN my_cur LOOP
    l_xmlclob := replace(l_xmlclob,my_cur.elementname,my_cur.maptag_name);
    END LOOP;
    l_newxml := XMLType(l_xmlclob);
    insert into test_translated_xml (xml_data) values (l_newxml);
    end;
    (hopefully I haven't missed anything)
    Any tips or hints would be much appreciated.
    Thanks!

    Hello again,
    Take a look at html entity codes: http://www.w3schools.com/tags/ref_entities.asp.
    You can use this:
    insert into t values (xmltype('<test>'||dbms_xmlgen.convert('this is a test &')||'deg;</test>'));
    or
    insert into t values (xmltype('<test>'||dbms_xmlgen.convert('this is a test &')||'#176;</test>'));
    see this: &deg; (& deg;) or this: &#176; (& #176;)
    SQL*Plus will not display degree character. But this is valid enitity code, and when you generate HTML out of this, it should be displayed properly in web browser.
    HTML is in fact XML, that is validated by specific DTD (Document Type Definition).
    Paweł

  • How do you get the value of an ELEMENT node?

    Which API call do you use to get the value of a simple element node, e.g. <element>value</element>
    The comments for getNodeValue in the header file oraxml.h says
    This function returns the "value" (e.g. associated data) for the given node. Only COMMENT, CDATA and TEXT nodes have data, all others return NULL.
    I've used an xpath expression to select the node that I want but now I can't get the value of the node because it is of type ELEMENT.
    When use getNodeValue I get NULL just like the comment says. Not sure what to try next.

    For parsing with XPath
    http://www.oracle.com/technology/pub/notes/technote_domparser.html

  • Adding an extra element to a XML message

    Hello,
    We are generating XML-files using DBMS_XMLQUERY on a Oracle Database 10g Enterprise Edition Release 10.2.0.3.0.
    This works fine. But now one of our customers needs an extra element (header) in the XML file. How do I get this job done?
    The XML-file needs to look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <header>
    <retailPartnerCode>retailPartnerCode</retailPartnerCode>
    <bestandsNaam>bestandsNaam</bestandsNaam>
    <berichtNaam>berichtNaam</berichtNaam>
    <berichtDatumTijd>2001-12-31T12:00:00</berichtDatumTijd>
    </header>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    Currently the output looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    The code generating this XML:
    procedure create_xml_file(
    is
    l_xml clob;
    l_ctx DBMS_XMLQUERY.ctxhandle;
    PROCEDURE clob_to_xml (p_file IN VARCHAR2,
    p_clob IN CLOB,
    p_dir in varchar2,
    p_setrowsettag in varchar2 default 'Dataset',
    p_setrowtag in varchar2 default 'Table'
    IS
    l_output UTL_FILE.file_type;
    l_amt NUMBER DEFAULT 5000;
    l_offset NUMBER DEFAULT 1;
    l_length NUMBER DEFAULT NVL (DBMS_LOB.getlength (p_clob), 0);
    BEGIN
    l_output := UTL_FILE.fopen (p_dir, p_file, 'w', 32760);
    WHILE (l_offset < l_length)
    LOOP
    UTL_FILE.put (l_output, DBMS_LOB.SUBSTR (p_clob, l_amt, l_offset));
    UTL_FILE.fflush (l_output);
    l_offset := l_offset + l_amt;
    END LOOP;
    UTL_FILE.new_line (l_output);
    UTL_FILE.fclose (l_output);
    END clob_to_xml;
    BEGIN
    l_ctx := DBMS_XMLQUERY.newcontext('select mvw.rpr_artikel_nr "artikelNummer",
    mvw.rpr_kleur_nr "kleurNummer",
    mvw.rpr_maat_code "Maat",
    mat.locus_status_code "Status",
    mat.ontvangen_aantal "aantalOntvangen",
    mat.werkelijke_aankomst_datum "werkelijkeAankomstDatum",
    mat.ontvangst_order_nr "ggb",
    mat.ontvangst_order_nr "goederenSoort"
    from wdp_magazijn_aankomsten mat
    , wdp_rpr_artikel_maat_vw mvw
    where mvw.maa_id = mat.maa_id;);
    DBMS_XMLQUERY.setrowsettag (l_ctx, 'aankomstBevestiging' );
    DBMS_XMLQUERY.setrowtag (l_ctx, 'aankomst');
    DBMS_XMLQUERY.setdateformat (l_ctx, 'dd-MM-yyyy HH:mm:ss');
    DBMS_XMLQUERY.setencodingtag (l_ctx, 'UTF-8');
    l_xml := DBMS_XMLQUERY.getxml(l_ctx);
    DBMS_XMLQUERY.closecontext (l_ctx);
    clob_to_xml (p_file_name,l_xml, l_dir );
    end if;
    end;
    /

    Posted this messages also in PL/SQL XML programming
    Adding an extra element to a XML message

  • Check if element node exists then create another element

    Hi Everyone,
    I have element node in the Target structure. I need to create another node if 1st node has been created.
    Please let me know how should I do it.
    Thanks
    NPrabhu

    Hi,
    I need another node to occur.
    I need to check if item in the target is created. If yes then create item[1].
    Also I need to add another item above each item node to say which text it is.
    <ENGLISH_TEXTS>
       <item>
         <LINE>Catalog text jasdkajdlsk;k;</LINE>
       </item>
       <item>
         <LINE>ProductText asasdklkf;sdlfs' </LINE>
       </item>
    </ENGLISH_TEXTS>
    I want it to look like this
    <ENGLISH_TEXTS>
       <item>
         <LINE>Catalog text</LINE>
       </item>
       <item>
         <LINE>Catalog text jasdkajdlsk;k;</LINE>
       </item>
       <item>
         <LINE>Product text </LINE>
       </item>
       <item>
         <LINE>ProductText asasdklkf;sdlfs' </LINE>
       </item>
    </ENGLISH_TEXTS>
    Thanks

  • [JAXB 2.0] Unmarshalling error if the XML contains w3c.Element nodes

    Hi!
    I'm using the JAXB 2.0 library to create an XML file according to a XML Schema (XSD).
    I use the JAXB 2.0 classes, that I have previuosly generated, to fill the data and finally I execute the marshal method to store a XML file with the object's info.
    The second step is unmarshalling the file. Alright in my first attempt: I get all the JAXB objects filled with the data of the file.
    Now I try to add w3c.dom.Element nodes underneath a JAXB object that accepts a list of w3c.dom.Elements:
    org.w3c.dom.Element cip = (org.w3c.dom.Element) doc.createElement("CIP");
    root.appendChild(cip);
    t = doc.createTextNode("CIP");
    t.setData("TEST");
    cip.appendChild(t);
    qpd3.getAny().add(cip);
    And the resulting XML file is marshalled correctly again. Moreover, the node QPD contains a list of simple nodes like 'CIP' (the w3c.dom.Element of the example).
    The second step, to try unmarshalling the XML file I just have generated:
    Using a main method in my class the file is unmarshalled with no problems.
    It's now, when I deploy the web service that calls the unmarshall method (sending the same XML file to the same function), I receive a parsing error!!
    2007-01-30 20:00:08.221 ERROR caught exception while handling request: java.lang.IllegalAccessError: void oracle.xml.parser.schema.XSDNode.<init>()
    Why does this error appear??? I supose JDeveloper tries to parser the w3c.dom.Element nodes like a XSDNode and therefore it fails (what is a XSDNode...?). But if I execute the same method from the "main" of my class it works! Maybe the problem is related with the libraries that OC4J loads when it starts...
    Can anyone help me?? Thanks in advance!
    Sergi

    Hi Blaise,
    The Document class I use to generate the w3c.dom.Element nodes in the marshaling procedure belongs to oracle.xml.parser.v2.XMLDocument class. And it is located in the jar file: file:/C:/Oracle/jdeveloper/jdk/jre/lib/rt.jar!/org/w3c/dom/Document.class
    I have also checked if the unmarshal method of my class has linked the same library, althought is not used in the unmarshalling process (but maybe is implicit...) and it's OK.
    Have you seen something wrong?
    Thank you!
    Sergi

  • Matching namespace qualified xpaths vis JAXP xsl transforms

    I am having problems getting template
    matches to work when matching against
    namespace qualified tags. I am passing
    the source xml and xsl into a JAXP transformer.
    The xsl templates sucessfully match against non namespace
    qualified tags but not namespace qualified tags.
    I have set the DocumentBuilderFactory to be namespace aware. The xml source and the xsl source are loaded
    from the file system i.e. the DOM's are not
    built programmatically.
    Peter.

  • [svn:fx-trunk] 5587: Adding @namespace to halo and haloclassic defaults. css themes.

    Revision: 5587
    Author: [email protected]
    Date: 2009-03-26 12:06:28 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Adding @namespace to halo and haloclassic defaults.css themes.
    QE: Could you please check if this fixes the recent themes issues, and that -compatibility-version=3.0.0 still works as expected too?
    Dev: No
    Doc: No
    Checkintests: Pass
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/halo/defaults.css
    flex/sdk/trunk/frameworks/projects/haloclassic/defaults.css

    I just saw that we are using xmlns:mx="http://www.adobe.com/2006/mxml" in all our custom components written in mxml, including our main application.
    In our custom css, I have the default namespace set to:
    @namespace "library://ns.adobe.com/flex/mx";
    could this result in these warnings ?

  • [svn:fx-trunk] 7743: Moving away from using namespace qualifiers in most cases in the SDK.

    Revision: 7743
    Author:   [email protected]
    Date:     2009-06-11 06:53:10 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
    Bugs: SDK-21337
    Reviewer: Ryan, Paul
    QE Notes: None
    Tests: Ran several random Mustella test groups, checkintests.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21337
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSys temDataGridNameColumnRenderer.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenLis t.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildren List.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleB ar.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBarButton.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButtonGroup.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownCont roller.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer .as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableCom ponent.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransfor mInstance.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionIns tance.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/GridRow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HDividedBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayou t.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintC olumn.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintR ow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItem Renderer.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescr iptor.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/HierarchicalColl ectionView.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponentGlobals.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/MaskEffect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ActionEffectIns tance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/AddChildActionI nstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/AnimateProperty Instance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffect Instance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstanc e.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/FadeInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/MaskEffectInsta nce.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/MoveInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/RemoveChildActi onInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetPropertyActi onInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionI nstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInst ance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInst ance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ZoomInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/InitLocalConnection.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/MainLocalConnection.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemChildrenList.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemRawChildrenList.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpD ata.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceBundle.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserIndicator.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpIcon.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpMenuIcon.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SwatchSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/states/RemoveChild.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as
        flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/controls/dataGridClasses/T LFDataGridItemRenderer.as
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm

    Revision: 7743
    Author:   [email protected]
    Date:     2009-06-11 06:53:10 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
    Bugs: SDK-21337
    Reviewer: Ryan, Paul
    QE Notes: None
    Tests: Ran several random Mustella test groups, checkintests.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21337
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSys temDataGridNameColumnRenderer.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenLis t.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildren List.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleB ar.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBarButton.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButtonGroup.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownCont roller.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer .as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableCom ponent.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransfor mInstance.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionIns tance.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/GridRow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HDividedBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayou t.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintC olumn.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintR ow.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItem Renderer.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescr iptor.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/HierarchicalColl ectionView.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponentGlobals.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/MaskEffect.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ActionEffectIns tance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/AddChildActionI nstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/AnimateProperty Instance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffect Instance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstanc e.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/FadeInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/MaskEffectInsta nce.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/MoveInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/RemoveChildActi onInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetPropertyActi onInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionI nstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInst ance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInst ance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ZoomInstance.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/InitLocalConnection.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/MainLocalConnection.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemChildrenList.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemRawChildrenList.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpD ata.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceBundle.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserIndicator.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpIcon.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpMenuIcon.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SwatchSkin.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/states/RemoveChild.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as
        flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/controls/dataGridClasses/T LFDataGridItemRenderer.as
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm

Maybe you are looking for

  • Has any one ever met this kind of ABAP-mapping problem ??

    Dear all, our scenario is:      (remote)MQ(ssl connection)->(local)MQ-(jms)>XI---(proxy)>ECC I met a very strange question during mapping which we use  abap mapping inside xi. the message come out from the abap mapping step.after the abap-mapping, th

  • Adding Digital Signature Fields to Multiple Pages in a Document

    Hello, I have a batch processing java script which will place digital signature fields in a drawing. Sometimes the drawing could have multiple pages and the script needs to place the digital signature fields onto each page. The problem with the scrip

  • Error in the source system for fiscal year variant K4 Period 00

    We are experiencing the following issue when loading data from module Flexible real estate RE-FX CASHFLOW CUBE OREFX_C06 Error in source system Fiscal year variant K4 is not defined for the period 00.

  • Smrtforms-lines not printed

    Hi,     In my smartform output the lines are not printed in the sheet. But in print preview it is showing the lines correctly,but when i give print means its not printing the lines.But it printed all the words Can anybody help me to know about what t

  • How create a variable with not like 'Virtual'

    I'm creating a report and my requirement is to select all plant names wich does not have 'VIRTUAL' word in the name. Can you tell me how to do this? Can you tell me how to create a variable and what to have in it? Thanks, PV