500 Unknown tag: cfdump.

For some reason, cfdump is not working on our Intranet
server.
We are running CFMX7.02 on Windows XP. The error page that
appears when a CFDUMP tag is run is as follows:
500 Unknown tag: cfdump.
Unknown tag: cfdump.
Any suggestions? I've searched high and low and have found no
answers. Your help would be much appreciated.
Thanks,
Marc

Where we're at right now is that it turns out that the
standard version of CFMX7 was installed on top of the trial
version. There was indeed one error in the installation log, and
from when we were working with the trial version I remember that it
took only one error to seriously foul things up. So we're wiping
all old ColdFusion files off the server to do a clean install.
Hopefully that will clear things up.
Basically, all valid instances of cfdump were failing. For
example:
<cfdump var="#FORM#" label="Dump of FORM Variables">
Thanks much for the help and tips... hopefully this will lead
to the right fix. I'll follow up when I find out more after the
install.

Similar Messages

  • Unknown tag name: [session] in XML node: [toplink-configuration].

    I get this exception at runtime, running TOPLink as persistence manager for my BMP WL7 beans. My sessions.xml validates according to the sessions_4_5.dtd file supplied with TOPLink, but yet I get this excpetion. Below is my complete sessions.xml, as well as teh header of the exception stack
    Sessions.xml
    <?xml version="1.0" encoding="US-ASCII"?>
    <!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink for JAVA 4.5//EN" "sessions_4_5.dtd">
    <toplink-configuration>
         <session>
              <name>entitySession</name>
              <project-class>za.co.discovery.legalentity.persistence.TOPLinkProject</project-class>
              <session-type>
                   <server-session/>
              </session-type>
              <login>
                   <uses-external-connection-pool>true</uses-external-connection-pool>
                   <uses-external-transaction-controller>true</uses-external-transaction-controller>
              </login>
              <external-transaction-controller-class>oracle.toplink.jts.wls.WebLogicJTSExternalTransactionController</external-transaction-controller-class>
              <enable-logging>true</enable-logging>
              <logging-options>
                   <log-debug>false</log-debug>
                   <log-exceptions>true</log-exceptions>
                   <log-exception-stacktrace>true</log-exception-stacktrace>
                   <print-thread>false</print-thread>
                   <print-session>true</print-session>
                   <print-connection>true</print-connection>
                   <print-date>false</print-date>
              </logging-options>
         </session>
    </toplink-configuration>
    and the stack trace:
    1) testAll(za.co.discovery.legalentity.ejb.test.ClassVersionTest)java.rmi.RemoteException: Exception in ejbFindByPrimaryKey; nested exception is:
         EXCEPTION [TOPLINK-7094] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.ValidationException
    EXCEPTION DESCRIPTION: LOCAL EXCEPTION STACK:
    EXCEPTION DESCRIPTION: Several [2] SessionLoaderExceptions were thrown:
    EXCEPTION [TOPLINK-9002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.SessionLoaderException
    EXCEPTION DESCRIPTION: Unable to load Project class [za.co.discovery.legalentity.persistence.TOPLinkProject].
    INTERNAL EXCEPTION: java.lang.ExceptionInInitializerError
    EXCEPTION [TOPLINK-9001] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.SessionLoaderException
    EXCEPTION DESCRIPTION: Unknown tag name: [session] in XML node: [toplink-configuration].
    INTERNAL EXCEPTION: java.lang.reflect.InvocationTargetException
    TARGET INVOCATION EXCEPTION: java.lang.NullPointerException
         at oracle.toplink.exceptions.SessionLoaderException.finalException(Unknown Source)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(Unknown Source)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source)
         at oracle.toplink.ejb.EJBDataStore.getSession(Unknown Source)
         at oracle.toplink.ejb.EJBDataStore.getDescriptor(Unknown Source)
         at oracle.toplink.ejb.EJBDataStore.getWrapperPolicy(Unknown Source)
         at oracle.toplink.ejb.EJBDataStore.findByPrimaryKey(Unknown Source)
         at oracle.toplink.ejb.bmp.BMPEntityBase.findByPrimaryKey(Unknown Source)
         at za.co.discovery.legalentity.ejb.LegalEntityEJB.ejbFindByPrimaryKey(LegalEntityEJB.java:67)
    all help appreciated!
    thanks
    Alwyn ([email protected])

    Hi Alwyn
    I've seen this exact problem before when the sessions.xml file has been parsed by a different version of xerces from the one provided in TopLink. Is this a possibility?
    JIM

  • What is the fastest way to detect on to off tag transition​s and then read 500 analog tags?

    what would be the fastest way to read 500 analog tags from the tag engine when a boolean tag transitions from on to off?? Right now I have a boolean indicator setup with the HMI wizard in a while loop with 20ms timer. The indicator feeds the boolean crossing ptbypt vi. When the output is true, I use one read multiple tags vi to get all 500 at once. I am reading data into the tag engine through an opc server and have around 2500+ tags. I need to read all of the data in less than 100ms. My plc logic is setup to zero out all of the 500 analog tags when the boolean indicator turns on again. Would I be better off using the trend tags vi to monitor the boolean indicator??

    Unclebump,
    You might try using read tag.vi

  • Cfdiv unknown tag

    I am attempting to use cfdiv to autorefresh some content on a page an am getting the following error:
    Unknown tag: cfdiv. ColdFusion cannot determine how to process the tag cfdiv because the tag is unknown and not in any imported tag libraries. The tag name might be misspelled. <br>The error occurred on line -1.
    I am using DW CS3.
    Any ideas?  Am I missing something?

    >>  I have used user created tags by just downloading
    >> some files. 
    Not a dumb question. But as others mentioned, it is important to understand how things work and why. I suspect you are confusing custom tags / cfx tags with core cfml tags. Custom tags can be downloaded and installed separately. Core cfml tags, on the other hand, are built into the Adobe CF engine. They cannot be installed separately by you. Only through upgrades, patches, hotfixes, etcetera ..
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0b2e1 -7fff.html

  • Parsing (skipping) unknown tags with JAXB...

    Does anybody know how can I skip unrecognised tags, during unmarshalling an XML document with JAXB?
    For example : the schema-compliant document is :
    <document>
    <Version>3.20</Version>
    <Account>Account</Account>
    <Password>Password</Password>
    </document>
    and a possible modification would be :
    <document>
    <Version>3.21</Version>
    <unknowntag>aaaabbbb</unknowntag>
    <Account>Account</Account>
    <Password>Password</Password>
    </document>
    (a new unknown tag was introduced).
    so : the document is well-formed anyway (not strictly valid), but the second time a new unknown tag was introduced. I couldn't map it to a Java object (of course, because my data model could not foresee it), but I would like JAXB to skip it and have the program flow behaving exactly as the first case... ignoring this new unknown tag.
    Thanks for any answer anybody could ever give me...
    Emilio.

    Finally I found a workaround to this problem :
    I used an XSL transformation from the incoming document into itself, according to the pattern matching provided by an xsl stylesheet, before giving it to JAXB. Definitely an XSL specular preprocessor (wow! sound cool!).
    That is :
    having an incoming XML document, I write an XSL stylesheet that transforms the original XML document into another XML having the same tags (that is... itself).
    In this way, I can then give to JAXB a resulting XML document that contains ONLY those tags that I was expecting it to elaborate, since all the others (the unknown ones) were discarded by the xsl preprocessor.
    And... that's it.
    In this way I finally wrote an application able to skip unrecognized tags and elaborating by JAXB only the know ones. And that's what I was looking for :-)
    Hope it could help you.
    Bye,
    emils.

  • How to mute: warning - @ABC-XYZ is an unknown tag ?

    Hello,
    I am using Java 1.4.2, XDoclet 1.2.2 and Ant 1.6.2.
    When I put the ejbdoclet tags in my java source file for my bean
    and then run javadoc through Ant I get the following warnings:
    warning - @ejb.interface-method is an unknown tag.
    warning - @ejb.ejb-ref is an unknown tag.
    warning - @jonas.ejb-ref is an unknown tag.
    warning - @jboss.ejb-ref-jndi is an unknown tag.
    warning - @weblogic.ejb-reference-description is an unknown tag.
    I have defined following tags (bellow) for mute all xdoclet tag
    warnings, but it seems all tags containing minus (-) char within
    the name are problematic and warnings occured in spite of that.
    <tag name="ejb.bean" scope="all" description="XDoclet tag:" />
    <tag name="ejb.home" scope="all" description="XDoclet tag:" />
    <tag name="ejb.interface" scope="all" description="XDoclet tag:" />
    <tag name="ejb.interface-method" scope="all" description="XDoclet tag:" />
    <tag name="ejb.ejb-ref" scope="all" description="XDoclet tag:" />
    <tag name="ejb.transaction" scope="all" description="XDoclet tag:" />
    <tag name="jonas.bean" scope="all" description="XDoclet tag:" />
    <tag name="jonas.ejb-ref" scope="all" description="XDoclet tag:" />
    <tag name="jboss.ejb-ref-jndi" scope="all" description="XDoclet tag:" />
    <tag name="weblogic.ejb-reference-description" scope="all" description="XDoclet tag:" />
    Warnings don't show for tags without minus (-) char in the tag name (for
    example for ejb.bean, ejb.home, etc.)
    Is there possibility to mute warnings for tags that contain (-)
    char in the name?
    Thank you in advance for your advice,
    with best regards,
    Julian Legeny

    I have try to use backslash, for example
    <tag name="ejb.interface\-method" scope="all" description="XDoclet tag:" />
    but it doesn't solve the problem.
    With best regards,
    Julian Legeny

  • Unknown tag when using JSTL

    hi, I'm using BEA Workshop, I tried to use standard tag library but it keeps tell me an error "unknown tag", the tag I'm trying to use is:
    <c:set var="ID" value=${param.id}>

    and of course dont forget to close tag
    <c:set var="ID" value="${param.id}" ></c:set> or just
    <c:set var="ID" value="${param.id}"  />

  • 500 unknown photos on new mbp can I safely delete them to clean up iPhoto thanks

    Thanks in advance for any advice.
    Does anyone know if there is a need for all these unknown photos that came on new mbp or can I safely delete them ? Icons, planets, unknown people looks like tutorial photos etc.

    Trash that Library and create a new one
    Regards
    TD

  • [ADF] Having Difficulties in Figuring Out Using the af:selectInputText Tag

    This is my first time using the ADF tags.
    The <af:selectInputText> is an input component that can launch a dialog and automatically accept its return value.
    My pop-up is a data table that provides "code" and "description". And the selection made will be return to the parent page and the "code" will be populated in the input field.
    First, I tested if my data table can be constructed successfully. Yes, I am able to use the JSF <h:dataTable> tag to display without problem.
    Second, I have adf-faces-api-10_1_3_0_4.jar and adf-faces-impl-10_1_3_0_4.jar in my WEB-INF/lib directory.
    Third, my web.xml and faces-config.xml work well because I was able to render JSF tags.
    Fourth, I have created the adf-faces-config.xml file with its contents directly copied from the ADF Configuration web site. The adf-faces-config.xml is placed together with the web.xml and faces-config.xml files.
    Fifth, on top of my ***.jsp, I added
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA10" prefix="af" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA10/html" prefix="afh" %>
    However, the IDE says that <af:selectInputText ...> is an unknown tag.
    Besides, for the value of the "action" attribute of the <af:selectInputText ...>, what is supposed to be filled for the "dialog:?????"
    and the compiler starts complaining that the "value" attribute in my <h:dataTable ...> has no value! But, my <h:dataTable ....> worked well before I introduced ADF.
    Here is my code in the ***.jsp:
         <f:view>
              <h:form>
                     <af:selectInputText label="Sex: " id="idInputText"
                       value="#{listOfValuesManagementBean.selectedGender}"
                    popupTitle="Sex Types"
                        action="dialog:????????????" windowWidth="300" windowHeight="200">
                       <h:dataTable id="gender" value="#{listOfValuesManagementBean.genderTypes}" var="genderType">
                            <h:column>
                                 <f:facet name="header">
                                      <h:outputText value="Code"/>
                                 </f:facet>
                                 <h:outputText value="#{genderType.code}"/>
                            </h:column>
                            <h:column>
                                 <f:facet name="header">
                                      <h:outputText value="Description"/>
                                 </f:facet>
                                 <h:outputText value="#{genderType.description}"/>
                            </h:column>                   
                       </h:dataTable>
              </af:selectInputText>             
              </h:form>
         </f:view>

    I use IBM Rational Application Developer (RAD v.7)
    As you know that my JSF code had worked before I started introducing ADF tags.
    Now, I have resoved all the complilation complaints in my ***.jsp where I have the ADF <af:selectInputText ...> tag and all tags inside the <af:selectInputText ...> tag.
    But, I have the "Error 500: Cannot find FacesContext" in the browser when I run the ***.jsp.
    I believe it is in my web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         ADF_TEST</display-name>
         <context-param>
              <description>
              The location where state information is saved.
    Valid values are 'server' (typically saved in HttpSession) and 'client' (typically
    saved as a hidden field in the form.
    Default is server.</description>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>client</param-value>
         </context-param>
         <context-param>
              <param-name>javax.faces.CONFIG_FILES</param-name>
              <param-value>/WEB-INF/faces-config.xml</param-value>
         </context-param>
         <context-param>
              <description>
              The default suffix for extension-mapped resources that contain JSF components.
    Default is '.jsp'.</description>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.jsp</param-value>
         </context-param>
         <context-param>
              <description>
              Number of Views to be stored in the session when Server-Side State Saving is being used.
    Default is 15.</description>
              <param-name>com.sun.faces.NUMBER_OF_VIEWS_IN_SESSION</param-name>
              <param-value>15</param-value>
         </context-param>
         <context-param>
              <description>
              If set to true while server-side state saving is being used, a serialized representation
    of the view is stored on the server. This allows for failover and sever clustering support.
    Default is false. This parameter is not available in JSF 1.0.</description>
              <param-name>com.sun.faces.enableHighAvailability</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <description>
              If set to true while client-side state saving is being used, reduces the number of bytes
    sent to the client by compressing the state before it is encoded and written as a hidden field.
    Default is false. This parameter is not available in JSF 1.0.</description>
              <param-name>com.sun.faces.COMPRESS_STATE</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <description>
              Monitors Faces JSP files for modifications and synchronizes a running server with
    the changes without restarting the server. If this parameter is set to false or
    removed from the deployment descriptor, any changes made to Faces JSP files may
    not be seen by the server until it is restarted. This parameter is usually set
    to true while the Faces JSP files are being developed and debugged in order to
    improve the performance of the development environment.</description>
              <param-name>com.ibm.ws.jsf.JSP_UPDATE_CHECK</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <description>
              Load JSF runtime when the application server starts up. If this parameter is set to false or removed,
    JSF runtime will be loaded and initialized when the first JSF request is processed.
    This may disable custom JSF extensions, such as factories defined in the project.</description>
              <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <description>
              If set to true disables use of MultipartFacesContext, allowing underlying implementations to be used.
    MultipartFacesContext is required when the FileUpload component is used, and can be disabled otherwise.</description>
              <param-name>com.ibm.faces.DISABLE_JWL_MULTIPART_CONTEXT</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <description>
              Value, in milliseconds, to be used for Expires header for resources served by the JavaScript Resource Servlet.
    Default is never (31536000000 milliseconds or 1 year).</description>
              <param-name>com.ibm.faces.RESOURCE_EXPIRE_MS</param-name>
              <param-value>31536000000</param-value>
         </context-param>
         <context-param>
              <description>
              Defines the strictness of the conversion when converting from a string to a date.
    The higher the value, the more exactly the value must conform to the format.
    If 0 (liberal), all 'literals' are ignored while parsing a value, mis-ordered components will be rearranged,
    any missing component is supplied using the current datetime, misspellings and incomplete spellings are allowed
    (to the extent that they can be evaluated), 'E' and other non-unique components are ignored.
    If 1 (strict), all 'literals' are ignored while parsing a value, any missing component is supplied using the current
    datetime, misspellings and incomplete spellings are allowed (to the extent that they can be evaluated),
    'E' and other non-unique components are ignored. For example if the pattern is MMMM dd, yyyy a user can enter 'Feb/02/04'
    and it will be parsed as February 02, 2004.
    If 2 (very strict), an exact match is required except long month names can be 'shortened' to the minimum number of unique
    characters and 'E' and other non-unique components are ignored. Literals must match exactly.
    Default is 1.</description>
              <param-name>com.ibm.faces.DATETIME_ASSIST_STRICTNESS</param-name>
              <param-value>1</param-value>
         </context-param>
         <context-param>
              <description>
              Defines the strictness of the conversion when converting from a string to a number.
    The higher the value, the more exactly the value must conform to the pattern.
    For numbers, currently strictness levels of 0 and 1 are equivalent. If the strictness is 2,
    if number is signed, the sign must be provided (otherwise it's assumed positive).
    Default is 1.</description>
              <param-name>com.ibm.faces.NUMBER_ASSIST_STRICTNESS</param-name>
              <param-value>1</param-value>
         </context-param>
         <context-param>
              <description>
              Defines the path for resources such as JavaScript libraries and images.
    The value can be either:
    1. An empty string. Context path of the current application will be used.
    2. A path string. Example: /project13. A number. Specifies the number of nodes to use from the context path starting from the left.
    Example: With a value of 1 if the context path is /screen/faces/SSID110267549/RID1102676
    the path will be evaluated as /screen
    Default is an empty string.</description>
              <param-name>com.ibm.faces.USE_UNENCODED_CONTEXT_PATH</param-name>
              <param-value></param-value>
         </context-param>
         <context-param>
              <description>
              Sets a custom url-pattern for the JavaScript Resource servlet.
    Should match servlet mapping setting for the JavaScript Resource servlet. If the default default mapping
    value '/.ibmjsfres/*' is modified, this context-param should also be modified.
    </description>
              <param-name>com.ibm.faces.JS_RESOURCE_SERVLET_URL_PATTERN</param-name>
              <param-value>/.ibmjsfres/*</param-value>
         </context-param>
         <context-param>
              <description>
              If set to true, forces JavaScript Resource Servlet to cache all resources on the server.
    This can be useful when client-side caching is turned off.</description>
              <param-name>com.ibm.faces.JS_RESOURCE_SERVLET_CACHE</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <description>
              Sets a custom charset mapping properties file similar to converter.properties in WAS.</description>
              <param-name>com.ibm.faces.ENCODING_MAPPING</param-name>
              <param-value>converter.properties</param-value>
         </context-param>
         <context-param>
              <description>
              Number of Views to be stored in the session when Enhanced State Saving is being used.
    Default is 15.</description>
              <param-name>com.ibm.faces.ENHANCED_SERVER_STATE_SAVING_SESSION_STORED_VIEWS</param-name>
              <param-value>15</param-value>
         </context-param>
         <context-param>
              <description>
              If set to true, the entire JavaScript library, containing code for all components, will be included
    in the generated pages as one file. If set to false or removed, multiple smaller JavaScript files will be
    included, depending on the components used on the page.Default is false.</description>
              <param-name>com.ibm.faces.USE_HXCLIENT_FULL</param-name>
              <param-value>false</param-value>
         </context-param>
         <listener>
              <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
         </listener>
         <servlet id="Servlet_1181745021880">
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>
              javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup> 1 </load-on-startup>
         </servlet>
         <servlet id="Servlet_1181745029380">
              <servlet-name>JavaScript Resource Servlet</servlet-name>
              <servlet-class>
              com.ibm.faces.webapp.JSResourceServlet</servlet-class>
              <load-on-startup>-1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.faces</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>JavaScript Resource Servlet</servlet-name>
              <url-pattern>/.ibmjsfres/*</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>and my ***.jsp looks like:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Test the ADF selectInputText Tag</title>
    </head>
    <body>
         <f:view>
              <h:form>
                    <af:selectInputText label="Sex: " id="idInputText"
                       value="#{listOfValuesManagementBean.selectedGender}"
                        action="dialog:chooseGender" windowWidth="300" windowHeight="200">
                       <af:table id="gender" value="#{inputListOfValuesManagementBean.genderTypes}" var="genderType">
                            <af:column>
                                 <f:facet name="header">
                                      <af:outputText value="Code"/>
                                 </f:facet>
                                 <af:outputText value="#{genderType.code}"/>
                            </af:column>
                            <af:column>
                                 <f:facet name="header">
                                      <af:outputText value="Description"/>
                                 </f:facet>
                                 <af:outputText value="#{genderType.description}"/>
                            </af:column>                   
                       </af:table>
                   </af:selectInputText>
              </h:form>
         </f:view>
    </body>
    </html>Message was edited by:
    user537770

  • How can i create and paste my own tags into source page of a html editor

    I download ekit and try to customize.
    I wrote a similar code:
    TagEditor extends HTML
    , and inner class:
    ExtendedTag extends Tag
    by following similar structure with javax.swing.text.html
    I added my own tags into tagList in HTMLUtilities class which is in com.hexidec.ekit.component. Because it is initialized three times when i run the program.
    I add a button to multitoolbar, and wrote a insertMyTag method in class EkitCore:
    private void insertMyTag() throws IOException, BadLocationException, RuntimeException {
    int caretPos = jtpMain.getCaretPosition();
    // htmlKit.insertHTML(htmlDoc, caretPos, "<VAZIFE>", 0, 0, TagEditor.ExtendedTag.VAZIFE);
    jtpMain.setText("<HTML><BODY><VAZIFE></BODY></HTML>");
    jtpSource.setText(jtpMain.getText());
    jtpMain.setText does display in the source editor but the default HTMLEditorKit creates the unkown tags and inserts them into the html view output with box-like borders. I want to keep the tags in the source but remove them from the output view so the user only sees the normal HTML output and my app sees the XML tags.
    What do I need to do in insertMyTag to turn off the strange display of
    unknown tags? Is there an easier way to do this?
    Thanks

    Or, take a ScreenHunter image of the list and email that to yourself.

  • For your reference: A real life AppleScript script regarding custom tags

    I'm working through a collection of photographs from iPhoto. One problem I have is that I have more than one set of the photographs and trying to eradicate duplicates and identify the true original images is rather difficult.
    One thing that can help is referring to the complete EXIF data from the image file. Unfortunately, Aperture doesn't give us the complete EXIF set, only a subset. In addition, Aperture doesn't allow us to see the File date/time; only the Image date/time.
    So I wrote this script. Before running the script, I batch renamed all of the images in my subject project using '<counter 4>—<Master Name>' to be sure that every image had a unique name. I then exported the masters from the subject project using '<Version Name>', the reason being that Aperture doesn't allow access to the file name via AppleScript. GraphicConverter will read the EXIF data from this exported set and the script will write most of the EXIF data back to the image in Aperture via custom tags.
    One caveat: Aperture is *slow*. It requires almost 4 seconds to write each custom tag. With 6000+ images in my subject project, this script will take a while to complete.
    The script:
    tell application "Aperture"
    activate
    tell project "untitled Project" of folder ""
    -- set theImages to every image version
    -- move through the images one by one, deleting and creating the appropriate
    -- custom tags from exif text obtained from exported versions via GraphicConverter.
    repeat with i from 1 to theImages's length
    tell theImages's item i
    -- tell image version id "++s5iIgRT1uKC8lrxd5bMg" -- test image
    delete (every custom tag whose name begins with "GC–")
    set exifdata to getEXIF(name) of me
    repeat with i from 1 to exifdata's length
    copy ("GC– " & exifdata's item i's first item) to tName
    copy (exifdata's item i's second item) to tValue
    make new custom tag with properties {name:tName, value:tValue}
    end repeat
    end tell
    end repeat
    end tell
    end tell
    return
    property exportedImagesFolder : alias "Bulbul:- exported from Aperture -:Canon IXUS 2:"
    property exifTagsToIgnore : {"Make", ¬
    "Model", ¬
    "Resolution unit", ¬
    "Y and C positioning", ¬
    "Exposure time", ¬
    "F number", ¬
    "Exif version", ¬
    "Meaning of each component", ¬
    "Shutter speed", ¬
    "Aperture", ¬
    "Exposure bias", ¬
    "Maximum lens aperture", ¬
    "Metering mode", ¬
    "Flash", ¬
    "Lens focal length", ¬
    "Unknown tag (1)", ¬
    "Owner Name", ¬
    "Color Space", ¬
    "Interoperability Index", ¬
    "Focal plane resolution unit", ¬
    "White balance", ¬
    "Resolution unit", ¬
    "Offset to JPEG SOI", ¬
    "Bytes of JPEG data"}
    to getEXIF(vName)
    copy alias ((exportedImagesFolder as string) & vName & ".jpg") to vFile
    tell application "GraphicConverter"
    copy (get file exif of vFile) to theEXIF
    end tell
    set AppleScript's text item delimiters to ","
    repeat with i from 1 to theEXIF's length
    set theEXIF's item i to ¬
    {text item 3 of theEXIF's item i, text from text item 4 to -1 of theEXIF's item i}
    end repeat
    set AppleScript's text item delimiters to ""
    set newEXIF to {}
    set fileDate to ""
    set imageDate to ""
    repeat with i from 1 to theEXIF's length
    copy theEXIF's item i's first item to tName
    if tName is not in exifTagsToIgnore and ¬
    tName does not start with "Unknown" then
    set end of newEXIF to theEXIF's item i
    if tName begins with "File date and time" then
    set fileDate to date (theEXIF's item i's second item)
    else if tName begins with "Date and time of original" then
    set imageDate to date (theEXIF's item i's second item)
    end if
    end if
    end repeat
    if fileDate is not "" and imageDate is not "" then
    if fileDate is less than (imageDate + 24 * 60 * 60) then
    set end of newEXIF to {"File & Image Same Date", "True"}
    else
    set end of newEXIF to {"File & Image Same Date", "False"}
    end if
    end if
    return newEXIF
    end getEXIF

    Correction 1:
    please uncomment the line near the top of the script that reads:
    -- set theImages to every image version
    Correction 2:
    writing the custom tags via AppleScript gets faster after Aperture's done it a few times.

  • A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762

    When building with Flash builder 4.7 I get two warnings I can't seem to track down.
    Those are
    "A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762" The other
    "A SWF Tag of type 75 contains 5464 bytes of unread data at the end of the tag at byte offset 797163"
    No file is pointed out or anything else to help.
    Any ideas what to look for, why this is a warning, possible implications & what to do?

    This is one output after running a variation of the script, but I get this   <!-- unknown tag=63 length=16 --> on all of the libraries
    Here is a link to the swc for further inspection https://dl.dropbox.com/u/154782/GoCoUtil.swc
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Parsing swf file:/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.345990/AIRSDK/bin/GoCoUtil.swc.swf -->
    <swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
      <!-- framecount=1 length=12927 -->
      <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
      <Metadata>
            <![CDATA[<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1'><dc:format>application/x-shockwave-flash</dc:format><dc:title>Adobe Flex 4 Application</dc:title><dc:description>http://www.adobe.com/products/flex</dc:description><dc:publisher>unknown</dc:publisher><dc:creator>unknown</dc:creator><dc:l anguage>EN</dc:language><dc:date>Sep 20, 2012</dc:date></rdf:Description></rdf:RDF>
    ]]>
      </Metadata>
      <EnableDebugger2 password="NO-PASSWORD" reserved="0x1975"/>
      <!-- unknown tag=63 length=16 -->
      <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
      <SetBackgroundColor color="#FFFFFF"/>
      <ProductInfo product="FLEX" edition="NONE" version="4.6" build="23201" compileDate="9/20/12 12:41 PM"/>
      <DoABC name="com/gogogic/common/util/interfaces/IParsableList"/>
      <DoABC name="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_display_Spr ite"/>
      <DoABC name="com/gogogic/common/util/ShallowCloner"/>
      <DoABC name="com/gogogic/common/util/GoCoDataUtil"/>
      <DoABC name="com/gogogic/common/util/PropertyParseError"/>
      <DoABC name="com/gogogic/common/util/interfaces/IDataChange"/>
      <DoABC name="com/gogogic/common/util/vo/DataChangeVO"/>
      <DoABC name="com/gogogic/common/util/GoCoUtilVersion"/>
      <DoABC name="com/gogogic/common/util/event/DataChangeEvent"/>
      <DoABC name="com/gogogic/common/util/PropertyParser"/>
      <SymbolClass>
        <Symbol idref="0" className="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_displa y_Sprite" />
      </SymbolClass>
      <ShowFrame/>
    </swf>

  • HTMLDocument ending with SUB TAG=bad formatting

    Hi, I have a problem when tring to format text in JTextPane in HTMLDocument. When the text ends with </SUB> and I call document..setCharacterAttributes(0, doc.getLength(), attrs, false) text formatting goes wrong!!
    Why? Is it not possible to end text in document with "text<SUB>sub text</SUB>"?
    I prepared some sample code below, which should clarify what I want. Click one of 4 buttons to setText, then click repeatedly Format button to change its format.
    I want to know what am I doing wrong and how to do it right. Problem lies in calling method setCharacterAttributes. When changing its parameters I get different formattings, and not the one I expect :-( .
    When the formatting goes wrong all characters are put inside SUB tag. HTML code then looks like this:
    <html>
      <head>
        <font color="#000000" size="4" face="Arial"><sub>//<--This SUB tag is is added too
    </sub></font>  </head>
      <body>
        <font color="#000000" size="4" face="Arial"><sub>text that had many sub tags and now has none and is inside this sub tag, when this tag shouldnt exist</sub></font>
      </body>
    </html>Please HELP!!!
    Sample code below
    import javax.swing.text.*;
    import java.awt.*;
    import javax.swing.text.html.*;
    import javax.swing.text.html.HTML.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Example extends JFrame {
      JScrollPane sp;
      JTextPane textPane = new JTextPane();
      HTMLEditorKit htmlKit;
      JButton text1Button = new JButton("short SUB text");
      JButton text2Button = new JButton("long SUB text");
      JButton text3Button = new JButton("long SUB text ending with text");
      JButton text4Button = new JButton("long normal text");
      JButton formatButton = new JButton("Format");
      StringBuffer text1,text2,text3,text4;
      Font font = new Font("Arial",Font.ITALIC,14);
      public Example() {
        this.setTitle("SUB TAG bad formatting Example");
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setSize(700, 400);
        htmlKit = new HTMLEditorKit();
        HTMLDocument doc = (HTMLDocument)htmlKit.createDefaultDocument();
        textPane.setContentType("text/html");
        textPane.setEditorKit(htmlKit);
        textPane.setDocument(doc);
        sp = new JScrollPane(textPane,
                             JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                             JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        JPanel menuPanel = new JPanel();
        menuPanel.add(text1Button);
        menuPanel.add(text2Button);
        menuPanel.add(text3Button);
        menuPanel.add(text4Button);
        menuPanel.add(formatButton);
        text1Button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            textPane.setText(text1.toString());
        text2Button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            textPane.setText(text2.toString());
        text3Button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            textPane.setText(text3.toString());
        text4Button.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
           textPane.setText(text4.toString());
        formatButton.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            setJTextPaneFont(textPane,font,new Color((float)Math.random(),(float)Math.random(),(float)Math.random()));
        text1 = new StringBuffer();
        for (int i=1;i<10;i++) {
          text1.append("a<SUB>"+i+"</SUB> ");
        //text1.append("<BR>");//<--Add this line to get it working, however moving cursor behind any number and pressing Format, results same format error
        text2 = new StringBuffer();
        for (int i=1;i<1000;i++) {
          text2.append("a<SUB>"+i+"</SUB> ");
        //text2.append("<BR>");//<--Add this line to get it working, however moving cursor behind any number and pressing Format, results same format error
        text3 = new StringBuffer();
        text3.append(text2+"END");//moving cursor behind any number in sub tag and pressing Format, results same format error
        text4 = new StringBuffer();
        for (int i=1;i<2000;i++) {
          text4.append("a_"+i+" ");
        JPanel mainPanel = new JPanel();
        mainPanel.setLayout(new BorderLayout());
        mainPanel.add(menuPanel,BorderLayout.NORTH);
        mainPanel.add(sp,BorderLayout.CENTER);
        this.getContentPane().setLayout(new BorderLayout());
        this.getContentPane().add(mainPanel,BorderLayout.CENTER);
      public static void setJTextPaneFont(JTextPane jtp, Font font, Color c) {
        MutableAttributeSet attrs = jtp.getInputAttributes();
        StyleConstants.setFontFamily(attrs, font.getFamily());
        StyleConstants.setFontSize(attrs, font.getSize());
        StyleConstants.setItalic(attrs, (font.getStyle() & Font.ITALIC) != 0);
        StyleConstants.setBold(attrs, (font.getStyle() & Font.BOLD) != 0);
        StyleConstants.setForeground(attrs, c);
        StyledDocument doc = jtp.getStyledDocument();
        doc.setCharacterAttributes(0, doc.getLength(), attrs, false);
      public static void main(String[] args) {
        Example frame = new Example();
        //Center the window
        Dimension frameSize = frame.getSize();
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        if (frameSize.height > screenSize.height) {
          frameSize.height = screenSize.height;
        if (frameSize.width > screenSize.width) {
          frameSize.width = screenSize.width;
        frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
        frame.setVisible(true);
    }

    Thanks for the dukes.
    Actually I have very little knowledge about html handling in java. On you particular problem, I just went and browsed through the source code in search for the sub tag (which I didn't know before by the way) to see what effect it had on the StyledDocument.
    As far as your performance problem in loading html pages, my best advice would be to conduct experiments and try to see where the bottleneck is. I know that there is a way to make setPage synchronous. It has to do with setting some variable in the Document (I guess searching the forum might help on this). This can make it easier to actually measure how long it takes. Moreover, you might want to try and load a small page first and then your heavy one : that way you'll know if it has to do with loading the classes of the HTMLEditorKit. Another advice would be to make sure you feed your JEditorPane with pure HMTL 3.2. I have no idea about this but maybe parsing unknown tags slows down the loading (pure guess). One last advice would be to make multiple versions of your file with slight modifications in each case (like remove the tables, for instance). That might help determine if it has anything to do with the actual content you're trying to load.

  • Tag Selection Mask for Tag Query Details not working

    Has anyone else run into this problem?  I didn't see anything logged here. 
    We cannot get this functionality to work.  Tried with and without quotes, single or double, using * or % and on workstations running 1.4.2_14 and 1.6 for the JRE.  Our workaround of manually entering each tag is pretty tedious in development.  Once in production, we will dynamically be mapping the tags, so this is not a long term problem for us, but it makes data checking a pain since we are dealing with between 400 and 500 new tags all carefully named to make the mask selection easy.
    We are looking for confirmation that it is a common problem.  And if so, we will enter a ticket. 
    We are on 12.0.2 (Build 88) and our data historian is IP21.  We do have UDS Admin 4.0 installed (latest version available). 
    Please chime in.
    Thanks,
    Mike

    I figured out how to make this work.  And it seems rather bizarre.
    Type in your Mask like so:
    XMII_GD%
    Then hit the Clear selection button at the top of the screen.  Presto, the list of tags appears filtered by your criteria.  Maybe the developer linked the wrong buttons under the covers.
    I wonder what the apply button is actually doing? 
    I will leave this question open for a while in case any others run into this problem.  A ticket will be opened eventually.

  • Cosuming webservice+ 500 error

    Hi all,
    I have a question.
    I am trying to consume SAP Web Services via proxy. Certain things I should make clear.
    1. I am not using SAP NetWeaver Developer Studio to create the proxy. I used apache axis wsdl2java tool to create the proxy from the wsdl.
    2. After that I used client code written in java to consume the webservice via the proxy
    3. After that I "substituted" the java client by a groovy client for the same purpose.
    4. I took care of BASIC authentication by setting appropriate username and password.
    Result:
    I get the think to work with the java client but the same stuff fails with the groovy client. It gives 500 (Unknown host error)
    According to literature 500 error is server side and nothing can be done in client to rectiy it. Strange as it seems, the same server behaves right with java client but not with groovy client. Does anyone have any idea or a concrete solution?

    hi,
    I think 500 is 'internal server error', a catch all error message.
    For the situation you describe, given you really feed them two clients with the same data I can only think that the groovy client does not build a valid soap message or the groovy client does some malicious conversion (or non-conversion) to the data supplied (e.g. not escaping a character like > ).
    In any way, it helps to look into transaction ST22.
    regards,
    anton

Maybe you are looking for

  • Error Message: Can't open Pages while it is updating

    Getting an error message when I try to open Pages ~ Pages cannot be opened while it is updating.

  • Moving files / Changing file names

    Sometimes after I've added music to the iTunes library I decide to go back and change something through windows explorer for better organization. For example, I will move the files to another folder or rename a folder. When that happens, iTunes asks

  • Cdg software for mac?

    what software do you use for cdg nplayer for mac

  • The latest version mozilla 6.0.2 won't run in my dekstop

    i just downloaded the latest version of mozilla, 6.0.2. however, when i try to run, after extracting, this software won't run everytime i use my name. however, if i use administrator name, it asking the password that i did'ny receive in downloading t

  • Assertion Failed editting list with taxonomy field

    I have lists with a taxonomy column in them. when editing the list, jsgrid looks to be throwing an assertion failed. Digging into the call stack, it is calling GetDisplayControl, the assert is "Sys.Debug.assert(displayControlName in displayControlsSi