RXP parser

  • Thread starter Stuart J. Shillinglaw
  • Start date
S

Stuart J. Shillinglaw

Stuart J. Shillinglaw said:
With this page http://shillinglaw.atspace.com/ as the subject, the
validator http://www.cogsci.ed.ac.uk/~richard/xml-check.html says the
page appears to be not well formed, but selecting the Xerces parser at
http://valet.webthing.com/page/ shows the page to be valid and well
formed. What does the RXP parser require that the others do not? The
standalone declaration seems to be the issue, and a standalone
document is what I am trying to achieve.

I forgot to mention to select validate in the RXP parser.
 
M

Martin Honnen

Stuart said:
With this page http://shillinglaw.atspace.com/ as the subject, the
validator http://www.cogsci.ed.ac.uk/~richard/xml-check.html says the page
appears to be not well formed, but selecting the Xerces parser at
http://valet.webthing.com/page/ shows the page to be valid and well formed.
What does the RXP parser require that the others do not? The standalone
declaration seems to be the issue, and a standalone document is what I am
trying to achieve.

I have no experience with that parser but what it displays when
validating that URL is only marked as warnings. Those warnings rightly
point out that there are external markup declarations in the external
subset of the document type declaration thus the XML document should be
labelled as standalone="no".
 
S

Stuart J. Shillinglaw

Martin Honnen said:
I have no experience with that parser but what it displays when
validating that URL is only marked as warnings. Those warnings rightly
point out that there are external markup declarations in the external
subset of the document type declaration thus the XML document should
be labelled as standalone="no".

Is there such a thing as internal markup declarations?
 
S

Stuart J. Shillinglaw

Stuart J. Shillinglaw said:
Is there such a thing as internal markup declarations?

I really think that external declarations do not have a direct bearing on a
standalone document. I am just trying to use the right format. Using
xml:space="preserve" for an inline cascading stylesheet, allows the style
to become independent, and is allowed for the other parsers I have used.
Any further help from anyone would be appreciated as I am trying to pursue
the correct format.
 
S

Stuart J. Shillinglaw

I really think that external declarations do not have a direct bearing
on a standalone document. I am just trying to use the right format.
Using xml:space="preserve" for an inline cascading stylesheet, allows
the style to become independent, and is allowed for the other parsers
I have used. Any further help from anyone would be appreciated as I am
trying to pursue the correct format.

It also seems to be parsing some other document because there is no entity
"HTMLlat1" that is listed in the first line of the results in my document.
Therefore, it may be parsing a document that is linked to such as the
document type.
 
R

Richard Tobin

Martin Honnen said:
Those warnings rightly
point out that there are external markup declarations in the external
subset of the document type declaration thus the XML document should be
labelled as standalone="no".

The spec isn't explicit about this, but the fact that the external subset
refers to external entities clearly shouldn't be enough to make a
document non-standalone. The idea of standalone is to assert that you
don't need to fetch anything external, so if nothing from the external
DTD is used it shouldn't matter that the external DTD itself refers
to other external entities.

So this is a bug in RXP, which I will fix.

-- Richard
 
S

Stuart J. Shillinglaw

(e-mail address removed) (Richard Tobin) put to writing:
The spec isn't explicit about this, but the fact that the external subset
refers to external entities clearly shouldn't be enough to make a
document non-standalone. The idea of standalone is to assert that you
don't need to fetch anything external, so if nothing from the external
DTD is used it shouldn't matter that the external DTD itself refers
to other external entities.

So this is a bug in RXP, which I will fix.

Thanks for responding yourself. I was trying to find some format fix to
improve the integrity when writing that kind of document.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,247
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top