[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: standalone="no"

Subject: RE: standalone="no"
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Wed, 12 May 2004 08:59:43 -0600
xml standalone no
Hi Mike, 

Let me first commend you on posting a perfect example of exactly what
every posted question should look like.  Clear, concise, presents the
problem in as few sentences as possible, prints only the code pertinent
to the problem at hand, and shows examples of research already done that
still leaves a few questions unanswered.  If I had a gold star for your
forehead it would now be in your possession.  I'll work on that.  In the
mean time...

According to the current recommended XML specification:

http://www.w3.org/TR/2004/REC-xml-20040204/#sec-rmd

it states:

"If there are no external markup declarations, the standalone document
declaration has no meaning. If there are external markup declarations
but there is no standalone document declaration, the value "no" is
assumed."

Which I think pretty clearly states that if it is not included then it
is assumed to be no.  With this in mind if a processor shut downs the
processing of an XML document it's not because standalone was set to no.

It's possible for the parser to throw exceptions if it comes across
entity declarations that are invalid in syntax or value but this
wouldn't have anything to do with the value of the standalone attribute
and as such I wouldn't pay attention much anymore to what that
particular attendee has to say at the next meeting ;) 

Hope this helps clarify!

Best regards,

<M:D/>




> -----Original Message-----
> From: Mike Ferrando [mailto:mikeferrando@xxxxxxxxx]
> Sent: Wednesday, May 12, 2004 8:34 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  standalone="no"
> 
> Friends,
> I have created a stylesheet to convert EAD 1.0 into EAD 2002. The
> first step of the package is to use James Clark's SX converting the
> SGML into XML.
> 
> The stylesheet that converts EAD 1.0 into EAD 2002 gives this
> processing instruction in the output EAD 2002 document.
> 
> <?xml version="1.0" encoding="utf-8" standalone="no"?>
> 
> Recently, I went to an XML users group meeting and someone said that
> the 'standalone' instruction can shut down the processing of the XML
> document in some processors.
> 
> Should I include 'standalone' in the processing statement? I could
> generate the output without it, but I am hesitant to just "leave it
> blank". Michael Kay's book (1st edition) indicates that it should be
> included in all well formed XML documents.
> 
> Mike Ferrando
> Washington, DC
> 
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'
> http://movies.yahoo.com/showtimes/movie?mid=1808405861

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.