?
Solved

XML Error - Whitespace Required between SystemID and PublicID

Posted on 2007-07-30
2
Medium Priority
?
941 Views
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 "-//PRISMstandard.org//DTD Aggregation with XHTML v1.0//EN">
<pam:message xmlns:pam="http://prismstandard.org/namespaces/pam/1.0/"
      xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
      xmlns:pim="http://prismstandard.org/namespaces/1.2/pim/"
      xmlns:dc="http://purl.org/dc/elements/1.1/"><?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.

Thanks!
0
Comment
Question by:mutterback
  • 2
2 Comments
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 19595688
it is
0
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 2000 total points
ID: 19595708
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 "-//PRISMstandard.org//DTD 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

cheers

Geert
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

839 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