|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] SAX-ext proposal #1: standalone flag
Document infoset extension
- One of the infoset properties for documents is not supported by
SAX2: whether it is standalone.
PROPOSAL
- Define a new standard feature ID:
http://xml.org/sax/features/is-standalone
Read-only; only visible while parsing
If true, the document was declared as standalone.
If false, it was either declared as standalone='no',
or no standalone declaration was present.
QUESTIONS:
- Is it necessary to distinguish "no standalone decl"? If so
accessing that feature could throw SAXNotSupportedException.
It's a bit more work from parsers to track that.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








