CS6 new HTML 5 document uses XHTML DTD - WTF?

We are suffering some serious weirdness.
I am on Win7 with CS6 and my colleague is on OSX with CS6.
We both do file, new, blank page, none, doctype html5
I get a correct basic html5 page, he gets the XHTML DTD & extra stuff.
We both have fresh installs, WTF is going on?

I'm thinking a bad install or maybe bad permissions prevented some files from being installed. You could try re-creating the configuration folder: http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html# main_user_config .  Another thing to consider is if you are using the same version of DW.  Just because you both have CS6 does not mean you are using the same version and the difference could be causing the error or an unknown bug.  The two versions out there are the traditional boxed/download license where you own the product and can buy upgrades and the other is the Cloud license which is operating on a different version.

Similar Messages

  • Validating an XML document using external DTD?

    Hi,
    I want to validate an XML file using external DTD with SAX parser.
    How can I validate an XML file with external DTD.
    Thanks in Advance,
    Mahendra

    I dont think we can set a DTD file throug java while
    parsing an XML.I've done it with an XML schema though. Can you use that instead? For schemas you do something like:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setAttribute( "http://java.sun.com/xml/jaxp/properties/schemaSource",
                                       schemaUrl );where schemaUrl in this case would be something like file:///usr/local/whatever.xsd

  • Creating a new Web Intelligence document using OpenDocument (requires an existing document?)

    We use the OpenDocument interface to embed the Web Intelligence viewer in our web application.  One of the problems we're having is that the code appears to require a valid document ID, even if all you want to do is create a new document (passing the noDocument=true flag, so that the application opens with no document at all).
    I've tried various permutations of the following, with no success, always getting this error message (An error occurred: Could not find the document)
    E.g:
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=-1...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=0...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&sDocName=...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&sDocName=new...
    It appears the only way to get OpenDocument to allow you to do this is to use an existing WebI document ID.  That is to say you can't create a new document unless you already have an existing document to include in the call to the JSP.
    This limitation appears to be artificial and only on the OpenDocument interface -- You can create new documents in Launchpad without having an already existing document to point to.  Documenting the workaround for this, having people installing the product first make a webi and save it, then configuring it so it has read-only permissions (so it doesn't accidentally get deleted), then configuring our application to lookup the ID isn't the most elegant of experiences.
    I was wondering if anyone had run into this before and/or if anyone at SAP could look into it?  I'm hoping it's an easy limitation/bug to fix.
    This limitation affects 4.1 SP4 and probably older versions of the OpenDocument interface.  See also:
    Embedding Java Webi Report Panel in Custom Application - Business Intelligence (BusinessObjects) - SCN Wiki
    Thanks!

    There is a feature request to request addressing this limitation here.  If you're interested, please vote it up!
    OpenDocument "New Report" feature from a Universe Identifier : View Idea

  • Wrong Unit Price in a Good Issue Document using DI

    Hi,
    in my addon I want to create a new Goods Receipt document, using DI.
    In the Lines, I set the ItemCode, I set the Quantity, and I set the Price, then I add the document, but when I go to Sap, in the Goods Receipt created, the Unit Price is wrong. I've try to set Quantity and LineTotal, Quantity and Price, Quantity Price and LineTotal but all the combinations is not correct, and the Unit Price is not equals to the price that I have set.
    I have try to change the Price List, but nothing is happened.
    This is my simple code:
    Dim entrataMerce As SAPbobsCOM.Documents = myDB.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    entrataMerce.CardCode = cardCode
    entrataMerce.Series = series
    entrataMerce.Lines.ItemCode = itemCode
    entrataMerce.Lines.Quantity = 1
    entrataMerce.Lines.Price = 100
    entrataMerce.Lines.WarehouseCode = whsCode
    entrataMerce.Add()
    Where is the error?
    Thanks
    Marco

    Instead of Price, try using UnitPrice? This is a confusing area of the DI :/

  • Problem with new type of Document and WebUI

    Hello everyone,
    My problem is quite strange. Here it is :
    I have created a new subclass of Document using the API, named IFSDocument. So, i created a class IFSDocumentDefinition and a class IFSDocument. Here is the code :
    IFSDocumentDefinition :
    package fr.sword.ifs.GestionDocument;
    public class IFSDocumentDefinition extends DocumentDefinition {
    protected LibrarySession ifsSession;
    public IFSDocumentDefinition() throws IfsException {
    setClassname("IFSDOCUMENT");
    public IFSDocumentDefinition(LibrarySession ifsSession) throws IfsException {
    this();
    this.ifsSession = ifsSession;
    IFSDocument :
    package fr.sword.ifs.GestionDocument;
    public class IFSDocument extends TieDocument{
    public IFSDocument(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException {
    super(session, id, classId, data);
    In this class, i've created a new ClassObject to handle my new type. Here is the method :
    public void createIFSDocument(LibrarySession ifsSession) throws IfsException {
    DocumentDefinition myDocDef = new DocumentDefinition(ifsSession);
    Document doc = (Document)ifsSession.createPublicObject(myDocDef);
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("IFSDocument");
    ifsSession.setInstallationMode(true);
    c = (ClassObject)ifsSession.createSchemaObject(cod);
    c.setBeanClasspath("fr.sword.ifs.GestionDocument.IFSDocument");
    c.setSelectorClasspath("fr.sword.ifs.GestionDocument.S_IFSDocumentSelector");
    c.setServerClasspath("fr.sword.ifs.GestionDocument.S_IFSDocument");
    ifsSession.setInstallationMode(false);
    I also created two classes named S_IFSDocument and S_IFSDocumentSelector that do nothing special but calling super(). Here is the code :
    S_IFSDocument :
    package fr.sword.ifs.GestionDocument;
    public class S_IFSDocument extends S_TieDocument {
    public S_IFSDocument(S_LibrarySession session, java.lang.Long classId) throws IfsException {
    super(session, classId);
    public S_IFSDocument (S_LibrarySession session, S_LibraryObjectData data) throws IfsException {
    super (session, data);
    S_IFSDocumentSelector :
    package fr.sword.ifs.GestionDocument;
    public class S_IFSDocumentSelector extends S_DocumentSelector {
    protected S_IFSDocumentSelector(S_LibrarySession session) {
    super(session);
    protected S_IFSDocumentSelector(S_LibrarySession session, Long classId) throws IfsException {
    super(session, classId);
    Everything seems to work since i'm able to create new objects of type IFSDocument. I can add custom attributes, put them into folders etc. BUT when i use the web interface, i have the following error message :
    oracle.ifs.common.IfsException : IFS-21002: Unable to construct S_LibraryObject for class fr.sword.ifs.GestionDocuments.S_IFSDocument (invalid class path specification)
    I don't understand why my classpath is invalid since i simply call super(). So, where is the problem ? Do i have to put the class(es) on the Server ?
    By the way, what's the purpose of the Selector class ? Is it related to search ?
    Thanks in advance.
    Regards,
    Guillaume
    PS : i'm using iFS 1.1.9 on Oracle 8.1.7 and NT4 sp6

    Hi Guillaume,
    don't know exactly but what i have in mind
    is that everything in iFS API that starts
    with a S_ is executed at server side, so the
    classes should exist there.
    You can easily check this if you put your
    classes in directory %IFS_HOME%\custom_classes
    You are right, the Selector class is for SIMPLE searches, for example:
    LibrarySession ifsSession;
    String searchCriteria = PublicObject.NAME_ATTRIBUTE + " = '<someName>'";
    Selector mySelector = new Selector(ifsSession, Document.CLASS_NAME, searchCriteria);
    LibraryObject objs[] = mySelector.getItems();
    Regards,
    Ralf
    null

  • Could not parse well-formed HTML 4.01/XHTML 1.0 document using JDOM

    Hi All,
    I am having difficulty reading two well-formed HTML document using JDOM when running offline (not on the Internet). The first few lines of these documents are listed below:
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
      2 <!-- saved from url=(0044)http://www.mongabay.com/igapo/zipcodes/CA.htm -->
      3 <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Cities and Towns in California starting with A - Zip codes United States of America</TITLE>
      4 <META http-equiv=Content-Type content="text/html; charset=UTF-8">
      5 <META
      6 content="california, cities, towns, villages, list, zipcodes, postal codes, us, ca"
      7 name=keywords>
      8 <META
      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      5 <meta name="keywords" content="8024, california, postcode, map, america, postal code, alabama Hills, Adelaide, Aberdeen, la, la, california" />
      6 <meta name="description" content="93545 zip code for Alabama Hills, Adelaide and Aberdeen (LA), California (CA) with map and local information." />
    The Java snippets that references these documents (local files) is as follows:
    1      public static void main(String[] argv) 
    2       {
    3            File zipcodefile = new File("C:\\TEMP\\Zipcodes Listing for California.txt");  // former
    4            //                                                     or
    5            File zipcodefile = new File("C:\\TEMP\\Zipcodes Listing for California  - 93545 - Los Angeles, CA.txt");  // later
    6            try
    7            {
    8                SAXBuilder saxBuilder=new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    9                // saxBuilder.setValidation(false);
    10              org.jdom.Document  doc = saxBuilder.build(zipcodefile);
    11              System.out.println(doc.getContent());
    12              System.out.println(doc.getDocType());
    13              ....( i ) This program would does not work even while it was running on-line (has Internet access). The execution process would exit on line 10 but not sure whether it completes it or not. Don't understand why though?
    ( ii ) What is the difference between the two files as far as the format goes? I thought HTML 4.01 is equivalent to XHTML 1.0? In other word, they are already well-formatted and so they can be parse directly by an XML parser such as Xerces. In other word, it is not necessary to use tool such as Tidy to convert to clean up missing tags?
    ( iii ) why are the tags in the former file in capital? Do parsers in general distinguish tags in capital compared to lower case?
    I am very new to XML parsing and would appreciate some guidances.
    Thanks a lot,
    Jack

    Hi,
    I am following a possible solution (http://devdiary.motime.com/post/471628/Why+implement+your+own+EntityResolver?) on how to redirect references to entities within an XML document to a local file but do not understand why it is not picking up the parsing file (former). Below is a complete change of ZipcodeTidy2JDomParser to include my own EntityResolver:
    1  public class ZipcodeTidy2JDomParser {
    2     public static void main(String[] argv) {
    3         try {
    4             File zipcodefile = new File("C:\\TEMP\\File zipcodefile = new File("C:\\TEMP\\Zipcodes Listing for California.txt"); // former
    5             SAXBuilder saxBuilder = new SAXBuilder(false);
    6             saxBuilder.setEntityResolver(new EntityResolver() {
    7             public InputSource resolveEntity(String publicId, String systemId) {
    8                 try {
    9                     if (systemId != null && systemId.endsWith(".dtd")) {
    10                         return new InputSource(getClass().getResource("E:\\Temp\\Software Development\\Download\\Forum\\html-loose.dtd").openStream());
    11                     }
    12                 }
    13                 catch (IOException e) {
    14                     e.printStackTrace();
    15                 }
    16                 return null;
    17               }
    18             });
    19             InputStream is = new FileInputStream(zipcodefile.getName());
    20      //     InputStream is = new FileInputStream(zipcodefile);
    21             Document document = null;
    22             try {
    23                 document = saxBuilder.build(is);
    24     //          document = saxBuilder.build(zipcodefile);
    25             }
    26             catch (JDOMException e) {
    27                 e.printStackTrace();
    28             } catch (IOException e) {
    29                 e.printStackTrace();
    30             }
    31             finally {
    32                 if (document == null) return;
    33             }
    34             System.out.println(document.getContent());
    35             System.out.println(document.getDocType());
    The output from running ZipcodeTidy2JDomParser is:
    java.io.FileNotFoundException: Zipcodes Listing for California.txt. (The system cannot find the file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at JDOMXPath.ZipcodeTidy2JDomParser.main(ZipcodeTidy2JDomParser.java:19){code}
    Could any see where this issue is coming from?
    The author of the same thread suggest that line 5 should add an extra parameter (SAXBuilder saxBuilder = new SAXBuilder(false, "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"). However, the SAXBuilder constructor does not accept the second paramter. Any ideas?
    Many thanks,
    Jack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Creating a new document using XQuery

    Hello everyone,
    I wondered if there was a way to create a new document using XQuery. What I am trying to do is to run a query on XML file and try to print the results in HTML for viewing purpose.
    The HTML is spitted out on DOS prompt. Instead I wanted to write that HTML to a file on disk. Is this possible with the XQuery tools provided by Oracle?
    Thanks in advance for all the help
    K

    Folks,
    Kinda answering to my question. Just send the DOS output to some file. Pretty Simple huh!
    Thankyou anyways
    K

  • Saving only a portion of a Microsoft Word template into a new document using LabVIEW Report Generation Toolkit

    I have a Microsoft Word template I want to populate programmatically with test data. The template contains both explanatory text and a data sheet section with test data placeholders (bookmarks). Using the Report Generation Toolkit for Microsoft Office, I have been able to successfully populate the placeholders with data and save the results into a new Microsoft Word document. The problem is the new Word document contains not only the test data but also the explanatory text that was in the original document template. Ideally, I would like to have the generated document contain just the test data without the accompanying text. Is it possible to do this usi
    ng the Report Generation Toolkit?

    Hello Ryan,
    Two easy options come to mind.
    1. You may want to consider using an �ink annotation� instead of regular text for your explanation.
    2. You can programmatically do a find and replace on the explanatory text. Have LabVIEW find the whole paragraph, and replace it with nothing.
    If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answers to the discussion above and any additional information that may help, and I�ll be happy to look further into it.
    Have a nice day!
    Robert Mortensen
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments

  • Problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2

    Hi experts,
    I'm getting problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2.
    I have a scenario where is defined the document type ZC1, document part 200, authorization group 0002 and for all of these  documents the storage category "Cofre DMS1". And the status which demands the storage category is 'FR'.
    I've been fullfiling the BAPI_DOCUMENT_CREATE2 in this way:
    "Tables
    data: it_doc like bapi_doc_draw2,
          it_return like bapiret2,
          it_files like bapi_doc_files2 occurs 0 with header line,
          it_objs like bapi_doc_drad occurs 0 with header line.
    "Variables
    data: wl_doctype like bapi_doc_draw2-documenttype,
          wl_docnumber like bapi_doc_draw2-documentnumber,
          wl_docpart like bapi_doc_draw2-documentpart,
          wl_docversion like bapi_doc_draw2-documentversion.
    it_doc-documenttype = 'ZC1'.
    it_doc-documentpart = '200'.
    it_doc-documentversion = '00'.
    it_doc-description = 'Test of documents creation via BAPI'.
    it_doc-username = sy-uname.
    it_doc-statusextern = 'FR'.
    it_doc-authoritygroup = '0002'.
    refresh it_files[].
    clear it_files.
    it_files-originaltype = '1'.
    it_files-storagecategory = 'Cofre DMS1'.
    it_files-wsapplication = 'PDF'.
    it_files-docfile = 'c:\110307.pdf'.
    it_files-description = 'Test file'.
    append it_files.
    refresh it_objs[].
    clear it_objs.
    it_objs-objecttype = 'EKPO'.
    it_objs-objectkey = '47000497600010'.
    append it_objs.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
        documentdata = it_doc
      IMPORTING
        documenttype = wl_doctype
        documentnumber = wl_docnumber
        documentpart = wl_docpart
        documentversion = wl_docversion
        return = it_return
      TABLES
        objectlinks = it_objs
        documentfiles = it_files.
    After execute the BAPI process I got the following error:
    E26 087 - Data carrier COFRE DMS1 not defined
    Does anybody have a sugestion to help me, please?
    Thks
    David
    Edited by: David Tsutsui on Mar 18, 2010 10:52 AM

    Please refer to this thread, it tells why you need a data carrier you can also configure the same in DC20.
    Data Carriers for Storage the Originals of DMS

  • Creation of PDF Document  using ADF Table data in new window

    Hi Guys,
    I have a requirement of creating a pdf document from adf table and it must open in a new window.I know creation of pdf document using itext pdf jar.But in my case how to write the table data to pdf and how to open it in new window.
    Thanks,
    Srinivas.

    In the TF do like this..
    view activity A-------dialog:invokePdf------->view activity B (invokePdf)
    Fragment A command button would be
    <af:commandButton action="#{pageFlowScope.PdfBean.openPDF}"
    text="Generate" id="cbpdf"
    useWindow="true"
    windowWidth="700" windowHeight="700"/>
    in the action add a return like return "dialog:invokePdf";
    Control flow outcome is "dialog:invokePdf". B would be just a empty fragment.

  • I have just upgraded to the new OS X V. 10.10.3 but cannot access my iCloud Drive documents using the resident Pages and Numbers software on my MacBook Pro. Help needed.

    I have just upgraded to the new OS X V. 10.10.3 but cannot access my iCloud Drive documents using the resident Pages and Numbers software on my MacBook Pro. Help is needed to access those documents using the resident software on my MacBook Pro rather than the Beta software on iCloud.com.

    I have iCloud Drive set on the Finder sidebar and use that to open the Numbers Spreadsheet on iCloud.
    OSX 10.10.3
    Best.

  • I am trying to convert a PDF to a Word document using Acrobat Pro 9 but am unable to find "Content to edit" under tools.  Do I need a newer version?

    I am trying to convert a PDF to a Word document using Acrobat Pro 9 but am unable to find "Content to edit" under tools.  Do I need a newer version?

    Acrobat 9 Pro (not Standard) can export ("convert") PDF to Word, RTF, or other text formats.
    Click-path:  File - Export
    Take your pick.
    With install of Acrobat 9 the Help PDF is installed also.
    From the this PDF's Bookmarks expand Chapter 5's bookmark and select "Convert PDFs to Word".
    Be well...

  • Creating a new HTML document - removing "todos"

    When creating a new HTML document in a KM repository (i.e. Folder > New > HTML File...), I get a form where I name my HTML document and enter the content etc. I can also choose, from a dropdown box, the document type between a Normal document or a "todos". My questions are the following:
    1) What is "todos" in this case? (I don't think it means "To Do's".)
    2) As a portal admin, how can I remove "todos" from the dropdown box or disable the dropdown box completely.
    Thank you

    Hi Mick,
    sorry, quite late, but better than never
    > how can I remove "todos" from the dropdown box or
    > disable the dropdown box completely.
    System Administration - System Configuration - KM - Configuration - CM - Global Services - Resource Types - Delete "todos".
    > What is "todos" in this case?
    > (I don't think it means "To Do's".)
    I think that in fact some SAP developer wanted to mark this place that there would be more work to be done (Resource Types to be defined or so).
    Hope it helps
    Detlev

  • Saving a copy of a document using a new name or location

    I am trying to save a document under a new name and new location.  I cannot find the "Save As" command in pages or keynote.  How do I save a document using a new name or save the document into a new location?

    It's a little different now. Instead of using Save As (which is now gone as you know) use Duplicate then save that document and give it the name and location you want.

  • Hello, I have installed a new Laserjet Pro M1217nfl using Wi-Fi. My laptop prints everything e-mails, Word documents etc. My iPad 3 (latest issue) only prints documents using Wi-Fi so has clearly recognised the printer. How can I prin e-mails using iPad 3

    Hello, I have installed a new Laserjet Pro M1217nfl using Wi-Fi. My laptop prints everything e-mails, Word documents etc. My iPad 3 (latest issue) only prints documents using Wi-Fi so has clearly recognised the printer. How can I print e-mails? Thanks.

    In the email you want to print, on the top right there is an arrow. Click that and an option should appear that says print. That should work. Have you already tried that?

Maybe you are looking for

  • Deletion of the file uploaded through Tcode - PRCC

    Hi, There is  a  ABC.CCD file provided by the credit card company that have being uiploaded through Tcode PRCC upon which the expenses that are being expended by the traveller are then claimed from reporting the expenses. A CCd file have being wrongl

  • Takes ~30 seconds to open logon page. ~50 seconds to log into application.

    Hello all, Maybe you can help with some ideas. This started 2 x weeks ago, after Siebel gw, web, siebserver bounce. Server gets up fast, 1-2 min max, its as usual. srvrmgr sees all servers, gw answering, ohs comunicating. SWSE statistics are being ge

  • Launching a BPC for Excel template from a webdynpro link

    Hello, Does anyone know how to directly launch a BPC for Excel template using the FileService asmx call through a webdynpro link? We are currently using BPC 7.5 NW SP5. Regards, Nik

  • Form printing taking time.

    Hi experts, From me23n trnasaction , when i click on print preview and take an output type system is taking time to display adobe form. what could be the reason for this, custom program is linked to the adobe form. Please help me in this regards, its

  • Can i get imovie free bought iphone in feb 2013?

    I got my iphone5 (which is always updated with the newest software) in February 2013 and i really want imovie. My friends all bought it free. i found out that devices purchased after September 2013 were able to buy iwork aand ilife apps for free. One