XML Error - Whitespace Required between SystemID and PublicID

Posted on 2007-07-30
Last Modified: 2012-06-27
I receive an error in my XML parser (Oxygen XML) "Whitespace Required between SystemID and PublicID"

Here is the section:
<!DOCTYPE pam:message PUBLIC "-// Aggregation with XHTML v1.0//EN">
<pam:message xmlns:pam=""
      xmlns:dc=""><?xml version="1.0" encoding="ISO-8859-1"?>

This is straight out of the documentation from the PRISM standard.  But, the whitespace problem seems to crop up on a lot of other posts generic to XML.  Any suggestions?  I've tried adding tabs, returns, spaces, etc.

Question by:mutterback
    LVL 60

    Expert Comment

    by:Geert Bormans
    it is
    LVL 60

    Accepted Solution

    sorry about the previous post, hit the send button to soon
    it is a bit an awkward mesage Oxygen gives you,
    but every DOCTYPE that has a PUBLIC ID
    needs to have a SYSTEM identifier as well,
    in case the mapping between the PUBLIC identifier and a fysical DTD doesn't work
    <!DOCTYPE pam:message PUBLIC "-// Aggregation with XHTML v1.0//EN" "prism.dtd">
    should work
    Oxygen will look for the prism.dtd if you didn't update the catalogue,
    so you'd better make that a pointer to the real DTD



    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    parsing xml in javascript 2 29
    XML file fails to process correctly 3 38
    Getting attribute Values using xslt 4 28
    XML namaspace 2 28
    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now