|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xlink and non-addressable URIs
On Thu, Jul 05, 2001 at 10:31:51AM +0100, Christian Nentwich wrote: : xlink and non-addressable URIs : We are converting legacy data to XML : : The converted data contains xlinks to other instances, some of which are not addressable from our system. : : Is there any way of inserting a non-addressable link into an xlink:href such that a validating parser will treat it as data (and not give an error). : > > The parser shouldn't really care what you put into the xlink:href attribute.. it most definitely shouldn't attempt to resolve any link references, and most likely won't know what xlink:href means anyway. Or did I misunderstand the issue? Right, XLink is intended to be processed after parsing (at least logically), and a validating parser should not care about the content of an xlink:href it should just be declared as CDATA in the DTD used for validation. http://www.w3.org/TR/2001/REC-xlink-20010627/#link-locators Schemas or specific validation tools may verify that this conforms to the URI-Reference syntactic constraints. Checks that the resource is valid could be done using a link checker but it is expected to take place at a later stage. Daniel -- Daniel Veillard | Red Hat Network http://redhat.com/products/network/ veillard@r... | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com
|
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








